天质软件

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

java 实现接口后重写方法报错

The method contextDestroyed(ServletContextEvent) of type InitListener must override a superclass method

解决方法:

1、Window->Preferences->Java->Compiler,选择compiler compliance level:1.6,apply。

2.单击项目右键-> Properties ->Java Compiler ,选择compiler compliance level:1.6, apply.

posted on 2012-12-29 11:04  天质软件  阅读(711)  评论(0编辑  收藏  举报