1. 问题:java: -source 1.5中不支持switch中存在字符串
解决方案:修改file -> project structure -> Modules ->Sources -> Language Level 为7
2.问题: Error:java: Compilation failed: internal java compiler error
解决方案:修改java compiler里的target版本和项目JDK保持一致。
1. 问题:java: -source 1.5中不支持switch中存在字符串
解决方案:修改file -> project structure -> Modules ->Sources -> Language Level 为7
2.问题: Error:java: Compilation failed: internal java compiler error
解决方案:修改java compiler里的target版本和项目JDK保持一致。
本文标题:Idea运行报错问题汇总
本文链接:https://www.haomeiwen.com/subject/wfommttx.html
网友评论