问题:

java编译时

错误信息:

Information:java: javacTask: 源发行版 1.8 需要目标发行版 1.8
Information:2017/1/24 11:27 - Compilation completed with 1 error and 0 warnings in 5s 873ms
Information:java: Errors occurred while compiling module 'java-lessions'
Information:javac 1.8.0_91 was used to compile java sources
Information:Module "java-lessions" was fully rebuilt due to project configuration/dependencies changes
Error:java: Compilation failed: internal java compiler error

 

解决

File | Settings | Build, Execution, Deployment | Compiler | Kotlin Compiler

Idea编译出现源发行版 1.8 需要目标发行版 1.8

如果还是不行

File | Settings | Build, Execution, Deployment | Compiler | Java Compiler

Idea编译出现源发行版 1.8 需要目标发行版 1.8

相关文章:

  • 2021-04-07
  • 2021-07-20
  • 2021-11-19
  • 2022-12-23
  • 2021-11-26
  • 2021-12-30
猜你喜欢
  • 2021-12-12
  • 2021-11-04
相关资源
相似解决方案