tomcat启动错误:The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. 分析解决

 tomcat  tomcat启动错误:The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. 分析解决已关闭评论
12月 092014
 

启动tomcat是报以下错误:

INFO: Illegal access: this web application instance has been stopped already.  Could not load com.xxx.xxx.xxxxxxx.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1566)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

看日志以为是“com.xxx.xxx.xxxxxxx”类加载异常,其实这个只是现象,不不是真正引起问题的原因。

可以查看 tomcat目录/logs/localhost.年-月-日.log的文件,这个文件中会描述正真的错误原因, good luck!