org.apache.maven.surefire.testset.TestSetFailedException

Unable to create test class 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest'; nested exception is java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web40

  • via grokbase.com by Unknown author, 11 months ago
    Unable to create test class 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest'; nested exception is java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not found in
  • via couchdb-user by Markus Jelsma, 11 months ago
    Unable to create test class 'org.apache.nutch.analysis.lang.LanguageIdentifierTest'; nested exception is java.lang.ClassNotFoundException: org.apache.nutch.analysis.lang.LanguageIdentifierTest not found in gnu.gcj.runtime.SystemClassLoader{urls
  • via gmane.org by Unknown author, 1 year ago
    Suite file /home/somesh/my-mvnprjct/src/test/resources/testng.xml is not a valid file
  • Stack trace

    • org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test class 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest'; nested exception is java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.10) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10) at java.lang.ClassLoader.loadClass(libgcj.so.10) at java.lang.ClassLoader.loadClass(libgcj.so.10) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209) at org.apache.maven.surefire.Surefire.run(Surefire.java:156) at java.lang.reflect.Method.invoke(libgcj.so.10) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.