Let me know how to lombok annotation? Why not, I can't use only @Data annotation?
You have to also install the Lombok plugin on your IDE. Since it doesn't know that some code is generated for you at build time, it will report problems.
Have a look at http://jnb.ociweb.com/jnb/jnbJan2010.html#installation for installation instructions.
Try using this dependency. Latest version has an issue.
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.20</version> <scope>provided</scope> </dependency>
Copyright © 2021 Jogjafile Inc.
You have to also install the Lombok plugin on your IDE. Since it doesn't know that some code is generated for you at build time, it will report problems.
Have a look at http://jnb.ociweb.com/jnb/jnbJan2010.html#installation for installation instructions.