开发者社区> 问答> 正文

项目在本地tomcat 部署运行没有问题,可是给运维人员部署到正式环境上去,就报?报错

INFO: Illegal access: this web application 
instance has been stopped already. Could not load 
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask. The 
eventual following stack trace is caused by an error thrown for 
debugging purposes as well as to attempt to terminate the thread which 
caused the illegal access, and has no functional impact.
java.lang.IllegalStateException

 at java.util.TimerThread.run(Timer.java:505)
Exception in thread "Timer-2" java.lang.NoClassDefFoundError: com/mchange/v2/resourcepool/BasicResourcePool$1DestroyResourceTask
 at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:980)
 at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1406)
 at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1378)
 at com.mchange.v2.resourcepool.BasicResourcePool.cullExpired(BasicResourcePool.java:1462)
 at com.mchange.v2.resourcepool.BasicResourcePool.access$1900(BasicResourcePool.java:32)
 at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1937)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)

java.lang.IllegalStateException
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1599)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)

 at java.util.TimerThread.run(Timer.java:505)
Exception in thread "Timer-4" java.lang.NoClassDefFoundError: com/mchange/v2/resourcepool/BasicResourcePool$1DestroyResourceTask
 at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:980)
 at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1406)
 at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1378)
 at com.mchange.v2.resourcepool.BasicResourcePool.cullExpired(BasicResourcePool.java:1462)
 at com.mchange.v2.resourcepool.BasicResourcePool.access$1900(BasicResourcePool.java:32)
 at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1937)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)

展开
收起
爱吃鱼的程序员 2020-06-14 18:44:39 1060 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    缺少c3p0的jar包吧

    我的jar包里有的
    2020-06-14 18:44:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
Jpom一款低侵入式Java运维、监控软件 立即下载
采用Harbor开源企业级Registry实现高效安全的镜像运维 立即下载