idea 调试报错 Illegal access: this web application instance has been stopped already.

1、报错信息

执行到当前代码 Map<String, Object> map = parseMapOneRegion(page, ruleRegion);

不进入该代码,则直接下一步,会报错!

2023-02-22 21:03:31.082 [INFO ] [autocrawler-worker  ] [pool-4-thread-1] [autocrawler worker 105346] [org.apache.catalina.loader.WebappClassLoaderBase] - Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration]. 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/org.apache.xerces.xni.parser.XMLParserConfiguration]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1385)
	at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:1115)
	at org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
	at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown Source)
	at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
	at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)

2、原因分析:调试的时候,可能是tomcat 进程重复开了,在 tomcat 重启的时候,因为之前的 tomcat 中的线程还没有完全关闭,新启动 tomcat 就会报这个异常。


3、解决:全部关闭,重新进行调试即可

posted @   一乐乐  阅读(173)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2022-02-22 可以没有入冬三件套,我不允许你没有ppt、word和excel
点击右上角即可分享
微信分享提示