天天看點

IDEA報錯:Lombok Requires Annotation Processing

現象

Lombok安裝完成之後,啟動項目時出現

Lombok Requires Annotation Processing

的錯誤提示

IDEA報錯:Lombok Requires Annotation Processing
16:08    Lombok Requires Annotation Processing
    Annotation processing seems to be disabled for the project "leyou".
    For the plugin to function correctly, please enable it under
    "Settings > Build > Compiler > Annotation Processors"           

解決方案

依次點

File

Settings

Build, Execution, Deploymen

Annotation Processors

打開編輯頁面,勾上

Enable annotation processing

前面的選框,儲存重新開機IDEA即可解決

IDEA報錯:Lombok Requires Annotation Processing

繼續閱讀