1. 程式人生 > >Java問題解決:Java compiler level does not match the version of the installed Java project facet.

Java問題解決:Java compiler level does not match the version of the installed Java project facet.

問題 compiler .cn 技術分享 cnblogs java編譯 mpi 選中 per

問題原因:Java編譯器級別與Facted Project 中的Java 版本設定不匹配。

解決辦法:將兩者設置一致

1.查看Java compiler level :

  選中項目右鍵properties->Java Complier:由圖可知compiler level是1.8

技術分享

2.修改Project Facets的java值,使其與java complier相同:

技術分享

搞定!

Java問題解決:Java compiler level does not match the version of the installed Java project facet.