hello all, i randomly began having this error tod...
# announcements
v
hello all, i randomly began having this error today( listed below). I think it has something to do with the M2 dependency for the junit platform gradle plugin. I am not sure exactly what is the cause of this error though. I have tried updating and refreshing the dependencies . It did not work. Does anyone know what could be the cause of this problem? :junitPlatformTestNov 30, 2016 24201 PM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines INFO: Discovered TestEngines with IDs: [spek] Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/platform/engine/discovery/ClasspathSelector at org.jetbrains.spek.engine.SpekTestEngine.resolveSpecs(SpekTestEngine.kt:48) at org.jetbrains.spek.engine.SpekTestEngine.discover(SpekTestEngine.kt:36) at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:109) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.console.tasks.ExecuteTestsTask.executeTests(ExecuteTestsTask.java:62) at org.junit.platform.console.tasks.ExecuteTestsTask.lambda$execute$0(ExecuteTestsTask.java:54) at org.junit.platform.console.tasks.CustomContextClassLoaderExecutor.invoke(CustomContextClassLoaderExecutor.java:33) at org.junit.platform.console.tasks.ExecuteTestsTask.execute(ExecuteTestsTask.java:54) at org.junit.platform.console.tasks.ConsoleTaskExecutor.executeTask(ConsoleTaskExecutor.java:38) at org.junit.platform.console.ConsoleLauncher.execute(ConsoleLauncher.java:54) at org.junit.platform.console.ConsoleLauncher.main(ConsoleLauncher.java:39) Caused by: java.lang.ClassNotFoundException: org.junit.platform.engine.discovery.ClasspathSelector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 11 more FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':junitPlatformTest'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 1