It's not a secret anymore!*
The moose likes IDEs, Version Control and other tools and the fly likes getting runtime error with junit test case :  no classdeffound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "getting runtime error with junit test case :  no classdeffound" Watch "getting runtime error with junit test case :  no classdeffound" New topic
Author

getting runtime error with junit test case : no classdeffound

Maan Suraj
Ranch Hand

Joined: Dec 20, 2007
Posts: 293
When i try to run my Junit Test case using ECLIPSE IDE, i get the below exception



I have set my built path correctll, as my project's build path shows Junit3 jar files.

What i want to know is, how do i set the jar on runtime path as well? (Using eclipse)



Man Suraj
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting runtime error with junit test case : no classdeffound
 
Similar Threads
Using easy mocks : getting NoClassDefFoundError
Error with execution using packages in command line
Junit testing
Class not found test.TestIndexBean error in Eclipse
URLClassLoader.java- Class not found Exception