码迷,mamicode.com
首页 > 编程语言 > 详细

手动更新jar包内容报错

时间:2020-11-01 20:51:43      阅读:18      评论:0      收藏:0      [点我收藏+]

标签:报错   必须   java   create   host   art   current   lock   localhost   

前言

class文件和内部引用jar包同时需要更新。

报错信息

2020-10-20 15:15:14.108 WARN  [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.log:180 -The web appli
cation [ROOT] appears to have started a thread named [RxIoScheduler-1 (Evictor)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 java.lang.Thread.run(Thread.java:748)

原因分析及测试

经测试必须先更新内部引用jar,更新完成后再更新class文件,不然更新顺序颠倒或会导致启动失败。

手动更新jar包内容报错

标签:报错   必须   java   create   host   art   current   lock   localhost   

原文地址:https://blog.51cto.com/14843781/2542627

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!