Information:java: javacTask: 源发行版 8 需要目标发行版 1.8
Information:java: Errors occurred while compiling module 'neu-crawler'
Information:javac 1.8.0_181 was used to compile java sources
Information:Module "neu-crawler" was fully rebuilt due to project configuration/dependencies changes
Information:2020/6/22 9:58 - Build completed with 1 error and 0 warnings in 2 s 987 ms
Error:java: Compilation failed: internal java compiler error
Solution 1: If it is a maven project, add the following content to pom.xml (because the default compilation version of maven is 1.5):
<properties>
<source>1.8</source>
<target>1.8</target>
</properties>
Add the location as follows:
Solution two: