无法加载net.sf.ehcache.store.compound.CompoundStore $ KeySet。在Tomcat 7.0.42应用程序上部署Grails 2.5时

时间:2015-12-21 17:37:08

标签: java tomcat grails

在tomcat 7.0.42上部署应用程序grails 2.5.0时,我发现了以下问题。

INFO: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.compound.CompoundStore$KeySet. 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:1600)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
        at net.sf.ehcache.store.compound.CompoundStore.keySet(CompoundStore.java:216)
        at net.sf.ehcache.store.compound.factories.DiskStorageFactory$DiskExpiryTask.run(DiskStorageFactory.java:670)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        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)

通过run-app grails应用程序运行应用程序正常工作!我意识到Tomcat的版本之间存在差异,嵌入式版本在构建中#34;:tomcat:7.0.54"并且环境是使用Apache Tomcat / 7.0.42

我发现link中最接近问题的建议是'降级'版本,目前还不是一个可行的解决方案!这可能是导致这个问题的原因? tomcat或应用程序版本中的错误?

0 个答案:

没有答案