java代碼整體沒有出現(xiàn)錯誤,在項目上有一個紅叉,打開Problems報錯
Description Resource Path Location Type Java compiler level does not match the version of the instal
解決方法
在項目上右鍵Properties-》Project Facets,在打開的Project Facets頁面中的Java下拉列表中,選擇相應版本。
有可能是java1.65改成java1.6
java代碼整體沒有出現(xiàn)錯誤,在項目上有一個紅叉,打開Problems報錯
Description Resource Path Location Type Java compiler level does not match the version of the instal
在項目上右鍵Properties-》Project Facets,在打開的Project Facets頁面中的Java下拉列表中,選擇相應版本。
有可能是java1.65改成java1.6