this web application instance has been stopped already

详细错误信息如下:

[mybatis-plus MapperRefresh] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.xpath.XPathFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.xpath.XPathFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

关键信息如下:

this web application instance has been stopped already

初次看到这个问题,我也是一头雾水,因为没有影响正常的项目对外服务,但是严重影响线上对接客户端时日志的阅读。

后来通过搜索知道了原因,原来是因为服务器上其中两个tomcat下的webapps项目相同导致的,而且这两个tomcat又是运行的,所以才导致这样的错误,于是我将另外的测试tomcat去除掉,问题就迎刃而解。

问题解决参考链接:
关于tomcat启动报“this web application instance has been stopped already”的处理

org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access

posted @   挑战者V  阅读(9108)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· [AI/GPT/综述] AI Agent的设计模式综述
点击右上角即可分享
微信分享提示