Illegal access: this web application instance has been stopped already. could not load **

启动tomcat的时候会报这样的错误: Illegal access: this web application instance has been stopped already.  could not load **

解决办法: 在tomcat配置servlet.xml中添加如下:

<Context docBase="ljt-api" path="/ljt-api" reloadable="false" source="org.eclipse.jst.jee.server:ljt-api"/>1

修改,reloadable=”false”即可。

需要注意的是: 如果是eclipse中的tomcat,直接在workspaces中Servers项目下servlet.xml修改就可生效;在tomcat的安装目录,修改不生效。 --------------------- 作者:凉风习习_ 来源:CSDN 原文:https://blog.csdn.net/liangjuntao2011/article/details/73124144?utm_source=copy 版权声明:本文为博主原创文章,转载请附上博文链接!

上一篇:java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/com.alibaba.druid.filter.Filter].


下一篇:项目跑起来之后,一会儿后台就会报错Illegal access: this web application instance has been stopped already. Could not load [com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask]. The following stack trace