java.lang.NoClassDefFoundError: org/sonatype/aether/repository/WorkspaceReader

Jenkins JIRA | Fernando Miguelez | 2 years ago
  1. 0

    I have configured Maven Dependency Update Trigger to every 5 minutes for a Job that builds a flex artifact (final SWF that depends on SWC artifacts). When it is launched it crashes with following error: {noformat} FINEST|27165/0|Service yajsw|14-06-19 08:20:00|Jun 19, 2014 8:20:00 AM hudson.triggers.Trigger checkTriggers FINEST|27165/0|Service yajsw|14-06-19 08:20:00|WARNING: org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run() failed for hudson.model.FreeStyleProject@8e19051[icm.demo.flexconsole] FINEST|27165/0|Service yajsw|14-06-19 08:20:00|java.lang.NoClassDefFoundError: org/sonatype/aether/repository/WorkspaceReader FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run(MavenDependencyUpdateTrigger.java:153) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.lang.Thread.run(Thread.java:662) {noformat}

    Jenkins JIRA | 2 years ago | Fernando Miguelez
    java.lang.NoClassDefFoundError: org/sonatype/aether/repository/WorkspaceReader
  2. 0

    I have configured Maven Dependency Update Trigger to every 5 minutes for a Job that builds a flex artifact (final SWF that depends on SWC artifacts). When it is launched it crashes with following error: {noformat} FINEST|27165/0|Service yajsw|14-06-19 08:20:00|Jun 19, 2014 8:20:00 AM hudson.triggers.Trigger checkTriggers FINEST|27165/0|Service yajsw|14-06-19 08:20:00|WARNING: org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run() failed for hudson.model.FreeStyleProject@8e19051[icm.demo.flexconsole] FINEST|27165/0|Service yajsw|14-06-19 08:20:00|java.lang.NoClassDefFoundError: org/sonatype/aether/repository/WorkspaceReader FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run(MavenDependencyUpdateTrigger.java:153) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) FINEST|27165/0|Service yajsw|14-06-19 08:20:00| at java.lang.Thread.run(Thread.java:662) {noformat}

    Jenkins JIRA | 2 years ago | Fernando Miguelez
    java.lang.NoClassDefFoundError: org/sonatype/aether/repository/WorkspaceReader
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NoClassDefFoundError

      org/sonatype/aether/repository/WorkspaceReader

      at org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run()
    2. org.jvnet.hudson
      MavenDependencyUpdateTrigger.run
      1. org.jvnet.hudson.plugins.mavendepsupdate.MavenDependencyUpdateTrigger.run(MavenDependencyUpdateTrigger.java:153)
      1 frame
    3. Hudson
      SafeTimerTask.run
      1. hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
      2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
      3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames