Community
Participate
Working Groups
Created attachment 279993 [details] Workspace with the project Open the workspace with Eclipse 4.13 for Java Developers. Attempt to run projects JUnits. Failed to launch tests. ClassNotFoundException is the culprit (See below) Note that if the same workspace is opened with Eclipse 4.12 then JUnits start fine and successfully executed. Debugging shows that test process starts on both 4.12 and 4.12 with exactly the same command and exactly the same classpath entries. Must be something with the JDT JUnit5TestLoader or RemoteTestRunner... CNFE: java.lang.NoClassDefFoundError: org/junit/platform/commons/PreconditionViolationException at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.createTest(JUnit5TestLoader.java:90) at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.loadTests(JUnit5TestLoader.java:48) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:525) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209) Caused by: java.lang.ClassNotFoundException: org.junit.platform.commons.PreconditionViolationException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more
Moving to JDT UI which owns JUnit.
Looks like bug 551298. *** This bug has been marked as a duplicate of bug 551298 ***
Moved to https://github.com/eclipse-m2e/m2e-core/issues/