2023-04-07 java: Compilation fai
2023-04-06 本文已影响0人
ForestPei
1. 发生如下异常
Executing pre-compile tasks...
Running 'before' tasks
Checking sources
Copying resources... [order-manage]
Copying resources... [common]
Parsing java… [common]
java: Compilation failed: internal java compiler error
Checking dependencies… [common]
Dependency analysis found 101 affected files
Errors occurred while compiling module 'common'
javac 8 was used to compile java sources
Finished, saving caches…
2. 设置jdk版本
2.1 设置 project
![](https://img.haomeiwen.com/i8922740/db4ad6c85df8dde6.png)
2.2 设置Module
![](https://img.haomeiwen.com/i8922740/ddadd2bb8bae8c11.png)
2.3 设置SDK
![](https://img.haomeiwen.com/i8922740/c9414066d059cfed.png)
2.4 设置mavne runner
![](https://img.haomeiwen.com/i8922740/c3ce6b1fedcf59da.png)
2.5 设置Compiler
![](https://img.haomeiwen.com/i8922740/55c8d1d9948b7718.png)
2.6 Debug /Run Edit Configration
![](https://img.haomeiwen.com/i8922740/b483a37279b0dc99.png)