• 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 org.mortbay.jetty.plugin.JettyServer@7b8f6d05: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/QueuedThreadPool$1
    Exception 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


  • 相关阅读:
    86. 分隔链表
    85. 最大矩形
    84. 柱状图中最大的矩形
    82. 删除排序链表中的重复元素 II
    80. 删除排序数组中的重复项 II
    77. 组合
    java-xml
    java-反射
    springboot解决跨域问题(CorsConfig )
    解决oracle锁表
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13314258.html
Copyright © 2020-2023  润新知