Junit on Javawebserver
1 posts in topic
Flat View  Flat View

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

When i run the command

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

I am getting the following error

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

In my classpath i have added c:junit3.7junit.jar

we used junit on Javawebserver2.0 with windowsNT 2000 OS

Can any one help us on why we get this error

Thank you

Re: Junit on Javawebserver

Posted By:   Anonymous  
Posted On:   Thursday, April 11, 2002 03:46 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