Information: java: javacTask: Source Release 8 need to target release 1.8

Today, when debugging code "reflection" section, I found a problem,

Information:java: javacTask: 源发行版 8 需要目标发行版 1.8
Information:java: Errors occurred while compiling module 'day22_reflection'
Information:javac 1.8.0_201 was used to compile java sources
Information:Module "day22_reflection" was fully rebuilt due to project configuration/dependencies changes
Information:2019/8/4 15:03 - Build completed with 1 error and 0 warnings in 4 s 950 ms
Error:java: Compilation failed: internal java compiler error

solution:

In IDEA2019, click File -> Settings -> Java Compile, as shown in the lower part of the modification map

Guess you like

Origin www.cnblogs.com/benjieqiang/p/11298294.html