JavaShuo
欄目
標籤
idea 使用lombok build項目報錯 the method getXXX() is undefined for type xxx
時間 2021-07-11
標籤
java
欄目
Eclipse
简体版
原文
原文鏈接
記錄一下使用lombok過程中遇到的坑。 本次報錯是在類上標註@Data後,其他地方引用該對象時能夠調用getXXX()方法,代碼中不會報錯,但是在build項目的時候就不能通過,一直報如下錯誤: 解決辦法: 檢查編譯模式,不能使用Eclipse,修改爲Javac再次編譯通過。 lombok插件使用可能還會遇到其他一些問題,如:代碼中getXXX()直接報錯找不到,排查方式如下: 1、檢查pom依
>>阅读原文<<
相關文章
1.
項目報錯:The method getTextContent() is undefined for the type Node
2.
The method setConfig(RequestConfig) is undefined for the type HttpGet
3.
The method setDefaultCloseOperation(int) is undefined for the type
4.
編譯時The method is undefined for the type 報錯
5.
The method getTextContent() is undefined for the type Node
6.
jsp The method getDispatcherType() is undefined for the type HttpServletRequest
7.
spring boot 常見問題 - 02. The method builder() is undefined for the type Result
8.
項目代碼報:The method xx方法( ) is undefined for the type XX類
9.
MyEclipse 下 the method setTextContent() is undefined for the type Element錯誤
10.
The method getTextContent()is undefined for...編譯出錯
更多相關文章...
•
Mozilla 項目
-
瀏覽器信息
•
Thymeleaf項目實踐
-
Thymeleaf 教程
•
Composer 安裝與使用
•
使用Rxjava計算圓周率
相關標籤/搜索
項目報錯
undefined
lombok
method
使用報告
build
項目實用
type
錯報
報錯
Eclipse
Java
紅包項目實戰
PHP教程
Spring教程
IDEA
應用
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
正確理解商業智能 BI 的價值所在
2.
解決梯度消失梯度爆炸強力推薦的一個算法-----LSTM(長短時記憶神經網絡)
3.
解決梯度消失梯度爆炸強力推薦的一個算法-----GRU(門控循環神經⽹絡)
4.
HDU4565
5.
算概率投硬幣
6.
密碼算法特性
7.
DICOMRT-DiTools:clouddicom源碼解析(1)
8.
HDU-6128
9.
計算機網絡知識點詳解(持續更新...)
10.
hods2896(AC自動機)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
項目報錯:The method getTextContent() is undefined for the type Node
2.
The method setConfig(RequestConfig) is undefined for the type HttpGet
3.
The method setDefaultCloseOperation(int) is undefined for the type
4.
編譯時The method is undefined for the type 報錯
5.
The method getTextContent() is undefined for the type Node
6.
jsp The method getDispatcherType() is undefined for the type HttpServletRequest
7.
spring boot 常見問題 - 02. The method builder() is undefined for the type Result
8.
項目代碼報:The method xx方法( ) is undefined for the type XX類
9.
MyEclipse 下 the method setTextContent() is undefined for the type Element錯誤
10.
The method getTextContent()is undefined for...編譯出錯
>>更多相關文章<<