IDEA使用lombok注解后,报错某些set、get方法不存在

Lombok Requires Annotation Processing
            Annotation processing seems to be disabled for the project "iif-da-service". But lombok is on classpath.
            For the lombok plugin to function correctly, please enable it under
            "Settings > Build > Compiler > Annotation Processors"

按提示到idea开启这个选项就行,但是我有些项目没有开启这个选项也没问题。很奇怪

IDEA使用lombok注解后,报错某些set、get方法不存在_第1张图片

 

 

你可能感兴趣的:(idea)