[英]java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already
I study web application with Spring.我用 Spring 学习 Web 应用程序。 My development environment is
我的开发环境是
I write source like in the textbook and run that code, but error message has been shown:我像教科书一样编写源代码并运行该代码,但已显示错误消息:
The full message is this.完整的信息是这样的。
**java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.**
The source works properly, but after a few seconds, the following error message comes out.源工作正常,但几秒钟后,出现以下错误消息。
If you know solution, I hope you let me know.如果你知道解决方案,我希望你让我知道。
This is because of application servers like tomcat caching your old application.这是因为像 tomcat 这样的应用服务器缓存了你的旧应用。 Try to restart it.
尝试重新启动它。
Right button in your Tomcat in Servers, then 'Clean', and try to running again.在服务器中的 Tomcat 中右键单击,然后单击“清洁”,然后再次尝试运行。 As other users replied, the tomcat is caching the old application
正如其他用户所回答的,tomcat 正在缓存旧的应用程序
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.