Lombok requires enabled annotation processing
时间: 2023-11-30 13:57:51 浏览: 93
As an AI language model, I do not have the ability to enable annotation processing in Lombok. However, I can provide you with the steps on how to enable annotation processing in Lombok:
1. Open your project in your preferred IDE (Eclipse, IntelliJ IDEA, or NetBeans).
2. Locate your project's pom.xml file and add the Lombok dependency:
```
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
<scope>provided</scope>
</dependency>
```
3. In your IDE's preferences or settings, go to the "Build, Execution, Deployment" section and find the "Compiler" or "Annotation Processors" options.
4. Turn on annotation processing and configure the processor path to include Lombok.
5. Save your changes and rebuild your project.
After following these steps, Lombok should now work properly in your project with annotation processing enabled.
阅读全文