錯誤以下spa
檢查下面幾個地方設置是否一致...3d
1.Project Structure下(File->Project Structure...)code
Sources選項卡->Languate levelblog
Dependencies選項卡->Module SDKci
2.Settings下找到Java Compilerget
裏邊有兩個設置Project bytecode version,Target bytecode versionio
3.Settings下找到Maven Runner 裏邊有JREim