发帖 回复
1
主题 :导入工程后,run时报error:java.lang.Error: Unresolved compilation problem: The method init(FilterConfig) of
级别:应届生
积分:16
关注  私信
精华:0  主题:2  回复:3
注册时间:2016-03-16
在线时长:0 min
  发表于:2016-03-16 21:32:58  IP:39.232.*.*
1#
导入工程,正确配置数据库后,run,报如下错误:
三月 16, 2016 9:29:19 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter SysManageFilter
java.lang.Error: Unresolved compilation problem:
The method init(FilterConfig) of type SysManageFilter must override a superclass method

at com.pinhuba.web.filter.servletfilter.SysManageFilter.init(SysManageFilter.java:47)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
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:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

三月 16, 2016 9:29:19 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter PermissionFilter
java.lang.Error: Unresolved compilation problem:
The method init(FilterConfig) of type PermissionFilter must override a superclass method

at com.pinhuba.web.filter.servletfilter.PermissionFilter.init(PermissionFilter.java:76)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
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:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
级别:应届生
积分:16
关注  私信
精华:0  主题:2  回复:3
注册时间:2016-03-16
在线时长:0 min
  发表于:2016-03-16 21:43:04  IP:39.232.*.*
2#
好吧,自己解决了这个问题。
我的环境:javac 1.7.0_79
项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为 1.7问题解决。但为啥要这样设置不清楚……
级别:版主
积分:316
关注  私信
精华:0  主题:43  回复:84
注册时间:2015-02-02
在线时长:360.58 h
  发表于:2016-03-17 12:42:14  IP:221.123.*.*
3#
专注于JAVA技术...我是老高,我为自己带盐。
级别:应届生
积分:30
关注  私信
精华:0  主题:2  回复:10
注册时间:2016-04-07
在线时长:0 min
  发表于:2016-04-14 13:14:32  IP:221.228.*.*
4#
顶 我报的错更多 唉 慢慢看
级别:版主
积分:316
关注  私信
精华:0  主题:43  回复:84
注册时间:2015-02-02
在线时长:360.58 h
  发表于:2016-04-14 16:30:34  IP:221.123.*.*
5#
专注于JAVA技术...我是老高,我为自己带盐。
发帖 回复
1
返回顶部