File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 6767 <dependency >
6868 <groupId >org.projectlombok</groupId >
6969 <artifactId >lombok</artifactId >
70- <version >1.18.10 </version >
70+ <version >1.18.30 </version >
7171 <scope >compile</scope >
7272 </dependency >
7373
191191 <plugin >
192192 <groupId >org.apache.maven.plugins</groupId >
193193 <artifactId >maven-compiler-plugin</artifactId >
194- <version >3.3 </version >
194+ <version >3.8.1 </version >
195195 <configuration >
196- <source >1.8 </source >
197- <target >1.8 </target >
196+ <source >17 </source >
197+ <target >17 </target >
198198 <encoding >UTF-8</encoding >
199+ <compilerArgs >
200+ <arg >-Xlint:all</arg >
201+ <!-- 添加以下参数解决Lombok问题 -->
202+ <arg >-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg >
203+ <arg >-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg >
204+ <arg >-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg >
205+ </compilerArgs >
199206 </configuration >
200207 </plugin >
201208 </plugins >
You can’t perform that action at this time.
0 commit comments