Browse Source

修复编译时 maven 可能提示“找不到符号”的问题

南宫茜 1 year ago
parent
commit
05be707e92
1 changed files with 7 additions and 0 deletions
  1. 7 0
      pom.xml

+ 7 - 0
pom.xml

@@ -379,6 +379,13 @@
                 <configuration>
                     <source>1.8</source>
                     <target>1.8</target>
+                    <annotationProcessorPaths>
+                        <path>
+                            <groupId>org.projectlombok</groupId>
+                            <artifactId>lombok</artifactId>
+                            <version>1.18.30</version>
+                        </path>
+                    </annotationProcessorPaths>
                 </configuration>
             </plugin>