原创 Idea使用lombok,在實體類中添加@Data註解後啓動時編譯報錯 java:找不到符號

 報錯如圖所示: 解決方案: File - Settings - Build - Compiler - Annotation Processors 中勾選Enable annotation processing 後確認即可。