java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm

jfrog.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Env: Jenkins 2.10 and JAP 2.5.0 Reproduction: Try to build the maven example project *with* post build deployment step, the job will quit and throw this exception the attached stack trace. {code}Started by user anonymous Building in workspace /home/andreik/.jenkins/jobs/Maven tester/workspace FATAL: org/codehaus/plexus/classworlds/realm/ClassRealm java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) at hudson.FilePath.act(FilePath.java:1105) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:931) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 17 more Finished: FAILURE{code}

    JFrog JIRA | 9 months ago | Andrei Komarov
    java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
  2. 0

    Env: Jenkins 2.10 and JAP 2.5.0 Reproduction: Try to build the maven example project *with* post build deployment step, the job will quit and throw this exception the attached stack trace. {code}Started by user anonymous Building in workspace /home/andreik/.jenkins/jobs/Maven tester/workspace FATAL: org/codehaus/plexus/classworlds/realm/ClassRealm java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) at hudson.FilePath.act(FilePath.java:1105) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:931) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 17 more Finished: FAILURE{code}

    JFrog JIRA | 9 months ago | Andrei Komarov
    java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
  3. 0

    [HAP-771] java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm - JFrog JIRA

    jfrog.com | 6 months ago
    java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    An error is thrown while trying to import the .TRX file. It looks like the import should be "java/nio/charset/StandardCharset" rather then "java/nio/charset/StandardCharsets"? ERROR: Publisher hudson.plugins.mstest.MSTestPublisher aborted due to exception java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets at hudson.plugins.mstest.ContentCorrector.fix(ContentCorrector.java:27) at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:73) at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:120) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.ClassNotFoundException: java.nio.charset.StandardCharsets at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more

    Jenkins JIRA | 2 years ago | Libero Scarcelli
    java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets

  1. poroszd 1 times, last 5 months ago
  2. davidvanlaatum 1 times, last 8 months ago
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.codehaus.plexus.classworlds.realm.ClassRealm

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
    3 frames