JavaShuo
欄目
標籤
ModelMapper報錯Ensure that method has zero parameters and does not return void.
時間 2021-01-03
標籤
開發漫談
踩坑記錄
简体版
原文
原文鏈接
今天開發項目的時候遇到一個報錯 這讓我很奇怪之前一直都是這樣寫的,爲什麼這次報錯了,根據報錯信息可以看到是這三個字段的set方法出了問題,這三個字段是所有實體類都會用到的契約字段,它的get、set方法是寫在自己寫的jar包裏面的 點進去看一下,jar包裏面的BasePO這三個參數的set方法是鏈式的返回的是BasePO,而在modelMapper的配置裏面返回類型不應該是BasePO轉換出了錯
>>阅读原文<<
相關文章
1.
SpringCloud Feign報錯:Method has too many Body parameters
2.
springboot報錯An attempt was made to call a method that does not exist.
3.
Method not found: 'Void Senparc.Weixin.MP.MvcExtension.WeixinResult.
4.
feign Method has too many Body parameters
5.
Method has too many Body parameters
6.
@override 報錯:Method does not override method from its superclass
7.
依賴包報錯Invalid options object. Less Loader has been initialized using an options object that does not
8.
Spring MVC Supported Method Argument Annotations and Return Value
9.
Caused by: java.lang.IllegalStateException: Method has too many Body parameters
10.
Maven報錯Please ensure you are using JDK 1.4 or above and not a JRE
更多相關文章...
•
SQL NOT NULL 約束
-
SQL 教程
•
MySQL非空約束(NOT NULL)
-
MySQL教程
•
RxJava操作符(七)Conditional and Boolean
•
☆基於Java Instrument的Agent實現
相關標籤/搜索
modelmapper
parameters
ensure
zero
void
method
return
錯報
報錯
does&nb
Redis教程
PHP 7 新特性
Thymeleaf 教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
排序-堆排序(heapSort)
2.
堆排序(heapSort)
3.
堆排序(HEAPSORT)
4.
SafetyNet簡要梳理
5.
中年轉行,擁抱互聯網(上)
6.
SourceInsight4.0鼠標單擊變量 整個文件一樣的關鍵字高亮
7.
遊戲建模和室內設計那個未來更有前景?
8.
cloudlet_使用Search Cloudlet爲您的搜索添加種類
9.
藍海創意雲丨這3條小建議讓編劇大大提高工作效率!
10.
flash動畫製作修改教程及超實用的小技巧分享,碩思閃客精靈
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
SpringCloud Feign報錯:Method has too many Body parameters
2.
springboot報錯An attempt was made to call a method that does not exist.
3.
Method not found: 'Void Senparc.Weixin.MP.MvcExtension.WeixinResult.
4.
feign Method has too many Body parameters
5.
Method has too many Body parameters
6.
@override 報錯:Method does not override method from its superclass
7.
依賴包報錯Invalid options object. Less Loader has been initialized using an options object that does not
8.
Spring MVC Supported Method Argument Annotations and Return Value
9.
Caused by: java.lang.IllegalStateException: Method has too many Body parameters
10.
Maven報錯Please ensure you are using JDK 1.4 or above and not a JRE
>>更多相關文章<<