执行idea时出现"无效的源发行版"

如果你安装的是JDK1.7,而在file->project structure中设置的是language level是8的话,就会出现这个错误提示:无效的源发行版:8。 解决办法:将语言级别改为7,或6。即语言级别不能高于你安装的版本。 另外,如果file -> settings -> build,exception,deployment -> compiler -> java compiler
相关文章
相关标签/搜索