首页 > 其他分享 >idea 调试报错 Illegal access: this web application instance has been stopped already.

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

时间:2023-02-22 21:46:48浏览次数:41  
标签:web already xerces Unknown access Source 报错 apache org

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、解决:全部关闭,重新进行调试即可

标签:web,already,xerces,Unknown,access,Source,报错,apache,org
From: https://www.cnblogs.com/shan333/p/17146054.html

相关文章

  • 文件下载的报错
    问题描述:首先是能够下载文件,文件是属于压缩文件,但是下载下来的数据比实际数据要大,导致了不能正常打开。解决方案一:使用responseType:'blob',注意这不是在请求头中定义,这......
  • 重学 MDN Web API 文档: Promise All In One
    重学MDNWebAPI文档:PromiseAllInOnePromiseconstmyPromise=newPromise((resolve,reject)=>{setTimeout(()=>{resolve("foo");},300);});......
  • Burp Suite+captcha-killer-modified,爆破带有验证码Web登录接口(保姆级教程)
    目录1需求描述2测试环境要求3配置测试环境3.1安装ddddocr+aiohttp3.2BurpSuite添加插件3.3启动图像识别接口4实战测试4.1获取验证码接口4.2获取请求包4.3插件配......
  • 移动web基础
    <!DOCTYPEhtml><html> <head> <metacharset="utf-8"/> <title></title> <!--<linkrel="stylesheet"type="text/css"href="xxx.css"/>--> <styletype="t......
  • 一文弄清楚Web应用防火墙,以及作用是什么?
    如今,基于Web环境的互联网应用越来越广泛,企业信息化过程中各种应用都架设在Web平台上,Web应用系统已深入客户所在的各个行业,成为重要的IT资产,而传统网络层的防护已经无法保障......
  • golang WEB框架Hertz --- 获取参数
    安装Hertz命令行工具请确保您的Go版本在1.15及以上版本,笔者用的版本是1.18配置好GO的环境后,按照Hertz的命名行工具goinstallgithub.com/cloudwego/hertz/cmd/hz@lates......
  • tensorflow2.0+TF-lite 各种报错
    generic_type:type"InterpreterWrapper"isalreadyregistered!原因:tensorflow2.5.0rc0版本太高,降低版本:pipinstalltensorflow==2.3  ValueErron:"batch_si......
  • E029Web学习笔记-Maven基础
    一、Maven概述1、简介Maven是一个非常强大的项目管理和综合工具; 2、Maven依赖管理Maven将Java项目所需要的Jar包放在一个统一的仓库里面,多个项目可以共同使用; 3、项目的一......
  • E028Web学习笔记-Redis
    一、概述1、简介Redis是完全开源免费的,遵守BSD协议,是一个高性能的NOSQL系列的非关系型key-value数据库;数据存储在内存中的数据库; 2、关系型数据库与非关系型数据库关系型......
  • E002Web学习笔记-CSS
    目录一、CSS概述1、CSS的作用2、什么是CSS3、CSS控制样式的好处4、CSS的使用方式①内联样式(不推荐使用)——作用于当前标签②内部样式——作用于当前html文件③外......