美文网首页
Idea运行报错问题汇总

Idea运行报错问题汇总

作者: smartkeyi | 来源:发表于2016-12-12 17:33 被阅读30次

    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