NoClassDefFoundError for UrlUtils
---------------------------------

                 Key: MSUREFIRE-162
                 URL: http://jira.codehaus.org/browse/MSUREFIRE-162
             Project: Maven 2.x Surefire Plugin
          Issue Type: Bug
          Components: classloading
         Environment: Win XP/Cygwin
            Reporter: Rory Winston


Surefire starting playing up today - I believe it may be due to some 
classloader changes that were committed earlier today. The symptoms were

java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/UrlUtils
        at 
org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBoote
r.java:599)
        at 
org.apache.maven.surefire.booter.SurefireBooter.getTestClassLoader(SurefireBoot
er.java:569)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBoot
er.java:250)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:807)


When  trying to run tests. To fix it, I edited the <version> tag for Surefire 
in my pom.xml and changed it to 2.2. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to