报错内容:
Information:java: javacTask: 源发行版 8 需要目标发行版 1.8
Information:java: Errors occurred while compiling module 'gulimall-common'
Information:javac 1.8.0_91 was used to compile java sources
Information:Module "gulimall-common" was fully rebuilt due to project configuration/dependencies changes
Information:2020/8/17 21:22 - Build completed with 1 error and 0 warnings in 3 s 95 ms
Error:java: Compilation failed: internal java compiler error
报错图:
![](https://i-blog.csdnimg.cn/blog_migrate/724cab284994fe5cc2e7b8eaffb0d8de.png)
解决方法:
![](https://i-blog.csdnimg.cn/blog_migrate/5f74230048a8de92119fee41ead72a33.png)
选择自己项目需要的jdk对应版本。再次编译就可以了。