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:1305)
at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:986)
at com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90)
at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
在服务器获取本地启动时报错如上。
本地:
如上:在server里面报上述错误,启动失败,我思考了好久 在网上找了很多文章都解决不了
后面细心发现Ttomcat Localhost Log里面查看到了报错 是代码错误;
唉,细心!
在服务器上:
也要仔细看日志信息,是否有报错。需要在localhost.xxxx-xx-xx.log
日志里面查看,不要在catalina.xxxx-xx-xx.log中查看
总结:是启动时代码报错