今天在写接口的实现类的时候,发现实现类的方法上面没有@override的标签,通过查询发现是由于java Complier选择错误导致的,必须要选择1.6及以上,如下图所示
上一篇:centos下apache反向代理tomcat简单配置
下一篇:eclipse操作常用快捷方式
如果是maven工程还要注意:
2、接着有报了一项错误
Java compiler level does not match the version of the installed Java project facet.
通过修改Project Facets的Java值,使之和Compiler compliance level相同: