开发者社区> 问答> 正文

启动tomcat报错?报错

控制台错误信息: 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内容:

展开
收起
爱吃鱼的程序员 2020-06-22 19:54:15 406 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    删掉缓存看看 <divclass="ref">

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

    <divclass=ref_body>删掉缓存看看 

    2020-06-22 19:54:30
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载