错误信息:
11-Jul-2018 07:03:00.001 INFO [cron4j::scheduler[6353d5ec1d26517f0ef247c600000164866ed5f947383a37]::launcher[6353d5ec1d26517f3ac6bc9e00000164866f04a03b0f07e5]] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [it.sauronsoftware.cron4j.TaskTable]. 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 [it.sauronsoftware.cron4j.TaskTable]. 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:1372)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1360)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1219)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
at it.sauronsoftware.cron4j.MemoryTaskCollector.getTasks(Unknown Source)
at it.sauronsoftware.cron4j.LauncherThread.run(Unknown Source)
Exception in thread "cron4j::scheduler[6353d5ec1d26517f0ef247c600000164866ed5f947383a37]::launcher[6353d5ec1d26517f3ac6bc9e00000164866f04a03b0f07e5]" java.lang.NoClassDefFoundError: it/sauronsoftware/cron4j/TaskTable
at it.sauronsoftware.cron4j.MemoryTaskCollector.getTasks(Unknown Source)
at it.sauronsoftware.cron4j.LauncherThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Illegal access: this web application instance has been stopped already. Could not load [it.sauronsoftware.cron4j.TaskTable]. 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.checkStateForClassLoading(WebappClassLoaderBase.java:1362)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1219)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
... 2 more
Caused by: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [it.sauronsoftware.cron4j.TaskTable]. 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:1372)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1360)
... 4 more
Exception in thread "cron4j::scheduler[6353d5ec1d26517f0ef247c600000164866ed5f947383a37]::launcher[6353d5ec1d26517f3ac6bc9e00000164866fef0020ea99f9]" java.lang.NoClassDefFoundError: it/sauronsoftware/cron4j/TaskTable
at it.sauronsoftware.cron4j.MemoryTaskCollector.getTasks(Unknown Source)
at it.sauronsoftware.cron4j.LauncherThread.run(Unknown Source)
解决:tomcat版本过高,war包中依赖的jar不匹配导致的该问题。降低tomcat版本号,问题解决。。。
这篇博客记录了在部署过程中遇到的Tomcat错误,详细错误信息显示web应用实例已被停止。问题根源在于Tomcat版本过高,与WAR包中的依赖JAR不兼容。解决方案是降低Tomcat版本,以此来修复此非法访问问题。
1651

被折叠的 条评论
为什么被折叠?



