dcsimg
jUnit Installation error
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Praful_Gupta
Posted On:   Thursday, January 19, 2006 12:30 PM

I get an error when i try to run the sample tests included in the installation.
Here is the error:
Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/TestRunner


I have included the installation directory as well as the jar file in the classpath.


I also have another question. I have to run sample test cases auto-generated by Axis framework and those test cases use jUnit framework. So if i included the junit.jar in the classpath then would i be fine when running those test cases or i have to add the jar file to my axis classpath?
any help is appreciated.
thank you.

Re: jUnit Installation error

Posted By:   Praful_Gupta  
Posted On:   Thursday, January 19, 2006 03:41 PM

I got it to work. Simply remove the installation folder to C: rather than Program Files as the space is causing the problem to occue.
thanks

Re: jUnit Installation error

Posted By:   ankush_purwar  
Posted On:   Thursday, January 19, 2006 03:14 PM

I feel still there is some problem in your classpath.
About | Sitemap | Contact