Hi Guys (and girls),
I am having classpath issues with
Ant. I have read through all related threads but nothing seems to work.
I keep on getting the following:
C:\>
java junit.textui.TestRunner junit.samples.AllTests
.........................................
.........................................
....................E.................
Time: 0,828
There was 1 error:
1) testJarClassLoading(junit.tests.runner.TestCaseClassLoaderTest)java.lang.Clas
sNotFoundException: junit.tests.runner.LoadedFromJar
at junit.runner.TestCaseClassLoader.lookupClassData(TestCaseClassLoader.
java:124)
at junit.runner.TestCaseClassLoader.loadClass(TestCaseClassLoader.java:1
01)
at junit.tests.runner.TestCaseClassLoaderTest.testJarClassLoading(TestCa
seClassLoaderTest.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
FAILURES!!!
Tests run: 119, Failures: 0, Errors: 1
My classpath settings are as follow:
CLASSPATH = F:\Program Files\Programming\3rd Party Tools\junit3.8.1;F:\Program Files\Programming\3rd Party Tools\junit3.8.1\junit.jar
Can anybody help?