liangzy 发表于 2018-8-1 19:10:59

版本 3.7.7 ,运行tomcat 之后,多次修改代码,保存后,tomcat...

版本 3.7.7,运行tomcat 之后,多次修改代码,保存后,tomcat就会报如下错误:

信息: 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:1325)
        at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139)
        at net.sf.ehcache.store.compound.Segment$HashIterator.<init>(Segment.java:832)
        at net.sf.ehcache.store.compound.Segment.hashIterator(Segment.java:826)
        at net.sf.ehcache.store.compound.CompoundStore$HashIterator.hasNext(CompoundStore.java:810)
        at net.sf.ehcache.store.compound.factories.DiskStorageFactory$DiskExpiryTask.run(DiskStorageFactory.java:690)
        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)


admin 发表于 2018-8-1 19:27:23

看不出来,太抽象,请给重现步骤

liangzy 发表于 2018-8-1 20:34:11

比如说,我在一个类里面,写代码, 写了30 行,我保存一下,此时, tomcat 会重新加载的,然后,我再写50行代码, 保存,当我这样反复操作的时候,说不定哪个时候,就报上面的错了。 之前,在 3.7.6版本时,好像没有看到出现过这个问题的。
页: [1]
查看完整版本: 版本 3.7.7 ,运行tomcat 之后,多次修改代码,保存后,tomcat...