Skip to content

Commit 7f3c0e7

Browse files
committed
Fixed Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor
1 parent 57bf431 commit 7f3c0e7

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

pom.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
<junit.vintage.version>5.4.1</junit.vintage.version>
2323
<logback.version>1.3.14</logback.version>
2424
<slf4j.version>2.0.12</slf4j.version>
25+
26+
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
27+
<java-compiler-source.version>1.8</java-compiler-source.version>
28+
<java-compiler-target.version>1.8</java-compiler-target.version>
29+
2530
</properties>
2631

2732
<dependencies>
@@ -86,9 +91,13 @@
8691
<plugin>
8792
<groupId>org.apache.maven.plugins</groupId>
8893
<artifactId>maven-compiler-plugin</artifactId>
94+
<version>${maven-compiler-plugin.version}</version>
8995
<configuration>
90-
<source>${java.version}</source>
91-
<target>${java.version}</target>
96+
<source>${java-compiler-source.version}</source>
97+
<target>${java-compiler-target.version}</target>
98+
<compilerArgs>
99+
<arg>-proc:none</arg>
100+
</compilerArgs>
92101
</configuration>
93102
</plugin>
94103
<plugin>

0 commit comments

Comments
 (0)