Junit on Javawebserver
1 posts in topic
Flat View  Flat View

Posted By:   jagadeeswari_kilaru
Posted On:   Tuesday, March 5, 2002 03:01 AM

when i run the command

C:junit3.7>java junit.awtui.TestRunner c:junit3.7junitsamplesAllTests

i' getting the following error

Exception in thread "main" java.lang.NoClassDefFoundError: junit/awtui/TestRunner

in my classpath i added c:junit3.7junit.jar file

we use javawebserver2.0 with windows NT 2000

can any one please tell me the reason for this error

Re: Junit on Javawebserver

Posted By:   Anonymous  
Posted On:   Thursday, April 11, 2002 03:37 PM

Also add the directory in which you installed JUnit to your classpath. This is because the tests you are running are not contained in junit.jar but in the installation directory itself. Now it will work !

Good luck.


About | Sitemap | Contact