加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

this web application instance has been stopped already

发布时间:2020-12-13 22:25:21 所属栏目:Linux 来源:网络整理
导读:详细错误信息如下: [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.xm

详细错误信息如下:

[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: 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读