項目中整體沒有報錯,在項目上有一個紅色的叉叉
在problems中報錯Java compiler level does not match the version of the installed Java project
解決方法
右擊項目->Preferences->java compiler ->compiler compliance level 中對應的版本調低一點,主要為了兼容
image.png
項目中整體沒有報錯,在項目上有一個紅色的叉叉
在problems中報錯Java compiler level does not match the version of the installed Java project
右擊項目->Preferences->java compiler ->compiler compliance level 中對應的版本調低一點,主要為了兼容