我正在尝试在eclipse中运行Web应用程序,但是tomcat显示此非法访问异常:
INFO: 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.
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.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1004)
at com.mysql.cj.jdbc.AbandonedConnectionCleanupthread.checkThreadContextClassLoader(AbandonedConnectionCleanupthread.java:117)
at com.mysql.cj.jdbc.AbandonedConnectionCleanupthread.run(AbandonedConnectionCleanupthread.java:84)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)