I have a problem with my project. This is the Spring CRUD RestFul API that provides services that provide Json data. I use JDK-7, Eclipse-Neon, and Maven to encode, build, and deploy a project on a JBossEAP 6.4 server. Everything works well, services respond correctly.
So I decided to add Lombok to reduce boiler code and improve code readability. By the way, I used to use Lombok in another project and worked perfectly.
Here is my problem, after turning on Lombok: - When I make an ear using Maven (mvn clean install), everything goes well, the project deploys and works fine. - When a project is created by Eclipse, Lombok annotations (i.e.: @Data, etc.) are not included in * .class. Therefore, the ear deployed by Eclipse works fine, but the whole object has no getter / setter and so on.
I know that Eclipse is configured correctly because I do not have any warning related to Lombok in my code, and the generation of generated methods is shown in the eclipse view.
Does anyone have an idea about this issue?
source
share