Open qytera-development opened 1 year ago
This bug was already fixed in #2936. Can you please verify that you use the current lombok version in the plugin submodule?
I was having the same problem @Rawi01
I had to add the dependency directly to the plugin to overwrite what was being imported, as I have the newest version of lombok, but the plugin lombok-maven-plugin
for some reason didn't seem to use the new version in my project and ended up using the version packaged with it, so I had to update the plugin like so:
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>${maven.plugin.lombok.version}</version>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!-- This version is 1.18.32 and is used for the main lombok dependency -->
<version>${lombok.version}</version>
</dependency>
</dependencies>
</plugin>
Describe the bug Im am using Lombock in my project and have annotated a class the following way:
When I try to compile the code with the command
mvn clean compile
I get the following error:This is my pom.xml file:
Expected behavior I expected the coed to compile
Version info (please complete the following information):