java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils

Jenkins JIRA | Sven Diedrichsen | 4 years 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

    This error prevents the mail-ext plugin from being usable. FATAL: org/sonatype/aether/util/StringUtils java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils at hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent.evaluate(ChangesSinceLastBuildContent.java:56) at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:177) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:705) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:488) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:319) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:311) at hudson.plugins.emailext.ExtendedEmailPublisher.prebuild(ExtendedEmailPublisher.java:261) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:838) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:833) at hudson.model.Build$BuildExecution.doRun(Build.java:142) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) I suspect that the developer accidently used the wrong StringUtils class. I think he should have used the Apache commons-lang class instead.

    Jenkins JIRA | 4 years ago | Sven Diedrichsen
    java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils
  2. 0

    This error prevents the mail-ext plugin from being usable. FATAL: org/sonatype/aether/util/StringUtils java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils at hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent.evaluate(ChangesSinceLastBuildContent.java:56) at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:177) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:705) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:488) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:319) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:311) at hudson.plugins.emailext.ExtendedEmailPublisher.prebuild(ExtendedEmailPublisher.java:261) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:838) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:833) at hudson.model.Build$BuildExecution.doRun(Build.java:142) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) I suspect that the developer accidently used the wrong StringUtils class. I think he should have used the Apache commons-lang class instead.

    Jenkins JIRA | 4 years ago | Sven Diedrichsen
    java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/sonatype/aether/util/StringUtils

      at hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent.evaluate()
    2. Hudson Email Extension Plugin
      ChangesSinceLastBuildContent.evaluate
      1. hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent.evaluate(ChangesSinceLastBuildContent.java:56)
      1 frame
    3. Token Macro Plugin
      TokenMacro.expandAll
      1. org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:177)
      2. org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182)
      3. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
      3 frames
    4. Hudson Email Extension Plugin
      ExtendedEmailPublisher.prebuild
      1. hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63)
      2. hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:705)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:488)
      4. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:319)
      5. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:311)
      6. hudson.plugins.emailext.ExtendedEmailPublisher.prebuild(ExtendedEmailPublisher.java:261)
      6 frames
    5. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:838)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:833)
      3. hudson.model.Build$BuildExecution.doRun(Build.java:142)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
      5. hudson.model.Run.execute(Run.java:1597)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      7. hudson.model.ResourceController.execute(ResourceController.java:88)
      8. hudson.model.Executor.run(Executor.java:247)
      8 frames