您的位置:首页 > 其它

@override is not allowed when implementing interface method

2017-04-05 15:01 337 查看
@override is not allowed when implementing interface method?

解决方法:

1.修改Project language level为6-@Override in interfaces.

2.pom.xml中增加

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>

感谢http://mangocool.com/1440642258300.html

       http://stackoverflow.com/questions/15402615/override-is-not-allowed-when-implementing-interface-method

给与的帮助!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: