Lombok is not generating getter and setter

前端 未结 20 1849
走了就别回头了
走了就别回头了 2020-11-29 19:10

I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!

However, mvn clean install is building just fine.

20条回答
  •  温柔的废话
    2020-11-29 19:29

    I am using Red hat Jboss developer studio. I solved this issue by:

    1. The project has lombok dependency. First look into your .m2 repository and find the lombok jar

    2. Double click on the jar, you will see installer there specify the path for IDE like C:\Users\xxx\devstudio\studio\devstudio.exe

    3. Restart the IDE and update the maven project the error will go

提交回复
热议问题