Java compiler level does not match the version of the installed Java project facet.
Facted project与java版本不一致。
项目-properties-Java compiler的compliler compliance level与porject facets的java版本设置一致即可。
[img]http://dl2.iteye.com/upload/attachment/0089/1318/cb876792-a6a5-3042-85db-4adca3067b8f.jpg[/img]
[img]http://dl2.iteye.com/upload/attachment/0089/1320/9ff4f679-636b-3293-96fb-7f3466d15035.jpg[/img]
[img]http://dl2.iteye.com/upload/attachment/0089/1322/d887d404-9143-3674-9af7-99cee4e52148.jpg[/img]
Facted project与java版本不一致。
项目-properties-Java compiler的compliler compliance level与porject facets的java版本设置一致即可。
[img]http://dl2.iteye.com/upload/attachment/0089/1318/cb876792-a6a5-3042-85db-4adca3067b8f.jpg[/img]
[img]http://dl2.iteye.com/upload/attachment/0089/1320/9ff4f679-636b-3293-96fb-7f3466d15035.jpg[/img]
[img]http://dl2.iteye.com/upload/attachment/0089/1322/d887d404-9143-3674-9af7-99cee4e52148.jpg[/img]