maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Beransky" <dmitry.ma...@gmail.com>
Subject java.lang.ClassNotFoundException: TestSuite
Date Mon, 02 Jun 2008 16:20:46 GMT
Hi folks,

Any ideas what might be causing the exception below?  I'm at my whit's ends.

(using surefire 2.4.3)

[09:15:30]: Forking command line: cmd.exe /X /C ""C:\Program Files
(x86)\Java\jdk1.5.0_06\jre\bin\java" -jar
C:\BuildAgent\temp\buildTmp\surefirebooter52899.jar
C:\BuildAgent\temp\buildTmp\surefire52897tmp
C:\BuildAgent\temp\buildTmp\surefire52898tmp"
[09:15:33]: org.apache.maven.surefire.booter.SurefireExecutionException:
Unable to create test class 'TestSuite'; nested exception is
java.lang.ClassNotFoundException: TestSuite; nested exception is
org.apache.maven.surefire.testset.TestSetFailedException: Unable to
create test class 'TestSuite'; nested exception is
java.lang.ClassNotFoundException: TestSuite
[09:15:33]: org.apache.maven.surefire.testset.TestSetFailedException:
Unable to create test class 'TestSuite'; nested exception is
java.lang.ClassNotFoundException: TestSuite
[09:15:33]: java.lang.ClassNotFoundException: TestSuite
[09:15:33]: 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[09:15:33]: 	at java.security.AccessController.doPrivileged(Native Method)
[09:15:33]: 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[09:15:33]: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[09:15:33]: 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[09:15:33]: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[09:15:33]: 	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
[09:15:33]: 	at
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
[09:15:33]: 	at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
[09:15:33]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:15:33]: 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[09:15:33]: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[09:15:33]: 	at java.lang.reflect.Method.invoke(Method.java:585)
[09:15:33]: 	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
[09:15:33]: 	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[09:15:33]:
[INFO] ------------------------------------------------------------------------


Thanks
Dmitry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message