Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5796

java.lang.NoClassDefFoundError AFTER successful build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.3
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 8.1 x64 Prof., Tomcat 7.0.68, JDK 1.8.0_92 x64

      Description

      Ubuntu 14.04:

              
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 29:07.033s
      [INFO] Finished at: Tue Jun 28 08:42:11 CEST 2016
      [INFO] Final Memory: 181M/494M
      [INFO] ------------------------------------------------------------------------
      2016-06-28 08:42:11.773:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
      2016-06-28 08:42:11.774:INFO:oejsh.ContextHandler:stopped o.m.j.p.JettyWebAppContext{/axis2,file:/home/tschoening/Axis2/src/systests/webapp-tests/target/tmp/webapp/},/home/tschoening/Axis2/src/modules/webapp/target/axis2.war
      

      Windows succeeds as well, but there's an additional exception:

      [INFO] javax.el.BeanELResolver purged
      [INFO] stopped o.m.j.p.JettyWebAppContext{/axis2,file:/C:/Users/tschoening/Documents/Svn/Src/Libs/trunk/Java/Apache/Axis2/1.7.4-SNAPSHOT/src/systests/webapp-tests/target/tmp/webapp/},C:\Users\tschoening\Documents\Svn\Src\Libs\trunk\Java\Apache\Axis2\1.7.4-SNAPSHOT\src\modules\webapp\target\axis2.war
      [WARNING] FAILED qtp14567888{8<=11<=11/254,0}: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1
      
              at org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:126)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.component.AggregateLifeCycle.doStop(AggregateLifeCycle.java:107)
              at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:69)
              at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:108)
              at org.eclipse.jetty.server.Server.doStop(Server.java:343)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:132)
              at org.eclipse.jetty.server.ShutdownMonitor$ShutdownMonitorThread.run(ShutdownMonitor.java:104)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.QueuedThreadPool$1
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
              ... 9 more
      [WARNING] FAILED org.mortbay.jetty.plugin.JettyServer@13bdb060: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1
      java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1
              at org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:126)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.component.AggregateLifeCycle.doStop(AggregateLifeCycle.java:107)
              at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:69)
              at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:108)
              at org.eclipse.jetty.server.Server.doStop(Server.java:343)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:132)
              at org.eclipse.jetty.server.ShutdownMonitor$ShutdownMonitorThread.run(ShutdownMonitor.java:104)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.QueuedThreadPool$1
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
              ... 9 more
      Exception in thread "ShutdownMonitor" java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1
              at org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:126)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.component.AggregateLifeCycle.doStop(AggregateLifeCycle.java:107)
              at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:69)
              at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:108)
              at org.eclipse.jetty.server.Server.doStop(Server.java:343)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
              at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:132)
              at org.eclipse.jetty.server.ShutdownMonitor$ShutdownMonitorThread.run(ShutdownMonitor.java:104)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.QueuedThreadPool$1
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
              ... 9 more
      

      The problem is not present in former versions, like 1.7.3.

        Attachments

          Activity

            People

            • Assignee:
              veithen Andreas Veithen
              Reporter:
              tschoening Thorsten Schöning
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: