錯誤以下code
檢查下面幾個地方設置是否一致...blog
1.Project Structure下(File->Project Structure...)ci
Sources選項卡->Languate levelget
Dependencies選項卡->Module SDKio
2.Settings下找到Java Compilerim
裏邊有兩個設置Project bytecode version,Target bytecode versiond3
3.Settings下找到Maven Runner 裏邊有JREimg