程序报错:
Executing pre-compile tasks...
Loading Ant configuration...
Running Ant tasks...
Running 'before' tasks
Checking sources
Copying resources... [gulimail-coupon]
Copying resources... [gulimail-common]
Parsing java… [gulimail-common]
java: javacTask: 源发行版 8 需要目标发行版 1.8
java: Compilation failed: internal java compiler error
Checking dependencies… [gulimail-common]
Dependency analysis found 45 affected files
Errors occurred while compiling module 'gulimail-common'
javac 1.8.0_131 was used to compile java sources
Finished, saving caches…
Module 'gulimail-common' was fully rebuilt due to project configuration/dependencies changes
Compilation failed: errors: 1; warnings: 0
Executing post-compile tasks...
Loading Ant configuration...
Running Ant tasks...
Synchronizing output directories...
2024-08-18 15:05 - Build completed with 1 error and 0 warnings in 2 sec, 340 ms
解决方案:
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/572b2d60650c43639d0d2531c10cdc4f.png)