启动tomcat报错

皛尛惢 发布于 2013/04/26 15:51
阅读 400
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

控制台错误信息: 2013-4-26 11:02:11 net.sf.ehcache.constructs.web.filter.Filter init 严重: Could not initialise servlet filter. java.lang.NullPointerException at net.sf.ehcache.CacheManager.replaceCacheWithDecoratedCache(CacheManager.java:874) at net.sf.ehcache.constructs.web.filter.CachingFilter.doInit(CachingFilter.java:87) at net.sf.ehcache.constructs.web.filter.Filter.init(Filter.java:196) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) web.xml内容: SimplePageCachingFilter net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter SimplePageCachingFilter /* ehcache.xml内容:
加载中
0
子矜
子矜
删掉缓存看看 
0
皛尛惢
皛尛惢

引用来自“布尔道长”的答案

删掉缓存看看 

我是要做加缓存的,删掉是正常

返回顶部
顶部