1. 程式人生 > >Illegal access: this web application instance has been stopped already. could not load **

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 版權宣告:本文為博主原創文章,轉載請附上博文連結!