tocmat启动报错Illegal access: this web application instance has been stopped already. Could not load [].

 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purpo
ses as well as to attempt to terminate the thread which caused the illegal access.

 

       我将一个项目放进ROOT里tomcat就总是报这个错,当我把ROOT里的项目删掉之后tomcat就能正常启动了。呃,其实 这也算是一个解决方法,但我就是需要将项目放进ROOT,所以这个方法不适合我现在使用。

     解决方法:

在tomcat的conf文件夹中找到server.xml,然后在<host></host>之间加上<Context path="" docBase="C:\Users\Administrator\Desktop\apache-tomcat-8.0.39-windows-x64\apache-tomcat-8.0.39\webapps\jzsm" debug="0" reloadable="false"></Context>,如果有了这个标签就直接修改就行了,tomcat默认是不会加上的。

 

 

Java课堂 www.javaketang.com中智软件科技学校

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值