Lombok intellij idea to duplicate getter / setter methods and generated constructor

I have a spring-boot project in intellij idea 2017.1 with lombok plugin installed and annotation processor enabled. When I build a project using Build> Rebuild Project , I have completed the build successfully. But in the editor, it still shows a compilation error when calling the getter method due to an ambiguous method call: there are duplicate getter / setter methods in the class structure.

Here is my class:

enter image description here

+3


source to share


2 answers


It is possible to install another plugin that also handles lombok annotations, such as the Hrisey Plugin. Disabled and it will work!



0


source


Intellij 2018 has enabled "Hrisey Plugin" by default. Disabling the plugin fixes the problem.



0


source







All Articles