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

来源:互联网 发布:手机股票决策软件 编辑:程序博客网 时间:2024/05/21 19:36

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.

0 0