java compiler level does not match the version of the installed java project facet

如圖所示: 其實要解決也很簡單,在資源管理器下,找到項目所在的目錄,在.settings子目錄裏面,用文本編輯器打開org.eclipse.wst.common.project.facet.core.xml配置文件,如圖所示: 修改紅色畫線部分,讓它與項目的編譯器版本設置保持一致即可。 要查看項目的編譯器版本設置,在Eclipse環境中,鼠標右鍵選擇項目,點擊Properties,選擇Java C
相關文章
相關標籤/搜索