IDEA 4.0.3 build 1182, junit, j2sdk1.5.0beta, NoClassDefFoundError


Hello,

I'm using IDEA build 1182 with java 1.5.0 and junit 3.8.1

JUnit appears not to be working.

I get a ClassDefNotFoundError in com/intellij/rt/execution/junit2/JUnitStarter

I'm not sure what I might be doing wrong. Any help would be appreciated.

/usr/java/j2sdk1.5.0/bin/java -Dfile.encoding=ISO-8859-15 -classpath /usr/java/j2sdk1.5.0/jre/lib/plugin.jar:/usr/java/j2sdk1.5.0/jre/lib/deploy.jar:/usr/java/j2sdk1.5.0/jre/lib/jce.jar:/usr/java/j2sdk1.5.0/jre/lib/charsets.jar:/usr/java/j2sdk1.5.0/jre/lib/jsse.jar:/usr/java/j2sdk1.5.0/jre/lib/javaws.jar:/usr/java/j2sdk1.5.0/jre/lib/rt.jar:/usr/java/j2sdk1.5.0/jre/lib/ext/dnsns.jar:/usr/java/j2sdk1.5.0/jre/lib/ext/localedata.jar:/usr/java/j2sdk1.5.0/jre/lib/ext/sunjce_provider.jar:/usr/java/j2sdk1.5.0/jre/lib/ext/sunpkcs11.jar:/home/myproject/classes:/usr/java/junit/junit3.8.1/junit.jar:/usr/local/intellij/idea-4.0.3/lib/idea_rt.jar com.intellij.rt.execution.junit2.JUnitStarter -ideVersion5 org.myproject.SomeTest,testSomething
Exception in thread "main" java.lang.NoClassDefFoundError: com/intellij/rt/execution/junit2/JUnitStarter
Process terminated with exit code 1

1 comment
Comment actions Permalink

re-installed ... problem gone away

0

Please sign in to leave a comment.