You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pavel Štěpánek <pa...@gmail.com> on 2007/03/03 13:53:47 UTC

Maven bug?

Hi, I´m trying Maven and followed the simple guide which is included
in the book Bettter build with Maven and it is also the 5 minute
guide. Everything goes fine, but when I try to package the sample app,
or test it, I got this exception:


[INFO] Surefire report directory: C:\maven_projekt\application\target\surefire-r
eports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to instantia
te and execute Surefire; nested exception is java.lang.ClassNotFoundException: o
rg.apache.maven.surefire.Surefire
java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(Isolat
edClassLoader.java:103)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:281)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Sat Mar 03 13:45:37 CET 2007
[INFO] Final Memory: 5M/11M
[INFO] ------------------------------------------------------------------------


Surfire is presented in my local repository, but Maven does not see it?
Please help :)
-- 
Pavel Štěpánek
pavel.stepanek@gmail.com