将应用部署到tomcat上报warning: The web application [ROOT] appears to have started a thread named [Abandoned

编程入门 行业动态 更新时间:2024-10-09 14:27:20

将应用部署到tomcat上报warning: The web <a href=https://www.elefans.com/category/jswz/34/1771332.html style=application [ROOT] appears to have started a thread named [Abandoned"/>

将应用部署到tomcat上报warning: The web application [ROOT] appears to have started a thread named [Abandoned

将应用部署到tomcat上报warning: The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.

将应用部署到tomcat上报标题warning, 并且并不影响部署和运行, 后来发现原因是之前的应用导入的jar包,add as lirbrary的level设置成了project library. 而现在部署的是maven应用,通过依赖导入的jar包和之前导入的jar包发生了冲突.
参考了这位大佬的描述
发现是mysql-connector-java这个jar包的原因

打开Project Structure将之前导入的jar包删除即可

更多推荐

将应用部署到tomcat上报warning: The web application [ROOT] appears to have started a thre

本文发布于:2024-02-14 12:21:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1763143.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:application   ROOT   web   tomcat   warning

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!