NoClassDefFoundError when running a JUnit Plug-in Test [message #270526] |
Tue, 07 September 2004 22:59  |
Eclipse User |
|
|
|
I have two plug-in projects. The first (lets call it "com.foo") is a simple
plug-in I've written to get the hang of writting plug-ins. The second is a
JUnit Plug-in (let's call it "com.foo.test") that's written as a JUnit
Plug-in test for the com.foo Plug-in. I can successfully run the the com.foo
plug-in manually using a Run-time workbench, but when I try to test it using
the com.foo.test JUnit Plug-in (by running it as a "JUnit Plug-in Test"), I
get a NoClassDefFoundError for any and all of the classes defined in my
com.foo Plug-in. The com.foo.test code compiles fine, it just can't find the
com.foo classes at run-time.
I'm running in the 3.0 environment and I defined the com.foo.test JUnit
Plug-in to depend on the com.foo plug-in.
Why might my com.foo plug-in's classes not be found when running in the
"JUnit Plug-in Test" environment?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds