当前位置: 代码迷 >> Ruby/Rails >> java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$一
  详细解决方案

java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$一

热度:851   发布时间:2016-04-29 02:07:32.0
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1

1、错误描述

[WARNING] FAILED qtp1691065417{8<=8<=8/254,0}: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1[WARNING] FAILED [email protected]: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1	at org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:110)	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80)	at org.eclipse.jetty.server.Server.doStop(Server.java:307)	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80)	at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:124)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)	... 5 more

2、错误原因

      由错误提示可知,是缺少jetty-util类


3、解决办法

(1)配置jetty-util


  相关解决方案