Building jEdit in Netbeans: Error: Could not find or load main class org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner

123 views Asked by At

I'm tyring to build jEdit in Netbeans in Windows and was getting the following error:

Error: Could not find or load main class org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner Running org.jedit.io.Native2ASCIIEncodingTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec Test org.jedit.io.Native2ASCIIEncodingTest FAILED (crashed)

JAVA version: 1.8
Ant: 1.9.4

I've also defined the following source classes:

lib\compile\jsr305.jar
lib\docbook\xml-apis.jar
lib\test\hamcrest-core.jar
lib\test\hamcrest-library.jar
lib\test\junit-dep.jar

Thanks for any help.

0

There are 0 answers