qq_38567131 2017-07-05 01:38 采纳率: 0%
浏览 8870
已结题

这个报错要怎么解决?严重: Exception starting filter jranuan

项目运行时候报错信息
图片说明
严重: Exception starting filter jranuan
java.lang.ClassCastException: com.jranuan.core.JRanuanFilter cannot be cast to javax.servlet.Filter
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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:748)

七月 05, 2017 9:11:04 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
七月 05, 2017 9:11:04 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/drqSys] startup failed due to previous errors
七月 05, 2017 9:11:04 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/drqSys] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 05, 2017 9:11:04 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/drqSys] registered the JDBC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 05, 2017 9:11:04 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/drqSys] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 05, 2017 9:11:04 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/drqSys] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 05, 2017 9:11:04 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/drqSys] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
七月 05, 2017 9:11:04 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]

  • 写回答

1条回答 默认 最新

  • Simor 2017-07-05 01:46
    关注

    问题的主要原因是server:
    tomcat 启动后先将tomcat/lib目录下的jar包全部读入内存,如果webapps目录里的应用程序中WEB-INF/lib目录下有相同的包,将无法加载,
    不同版本的包之间也会造成类似问题

    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站