Class not found when using JUnit

I'm using build 1167 and when I try to run a single JUnit
test I get an error message saying
Class not found "Test_18_7".

I can run the test successfully by using the command line
used by IDEA, replacing "com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit2.JUnitStarter" with "junit.swingui.TestRunner".

Is this a real bug or a configuration error on my part?

This may be the same problem as reported here:
http://www.intellij.net/tracker/idea/viewSCR?publicId=30154

1 comment

I found the source of my problem. I had put a copy of
junit.jar in my ]]>/jre/lib/ext. Removing that fixed
the problem.

The reason it worked from the command line is that it used a
different JRE.

0

Please sign in to leave a comment.