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.
android 以太网和wifi共存
2.
没那么神秘,三分钟学会人工智能
3.
k8s 如何 Failover?- 每天5分钟玩转 Docker 容器技术(127)
4.
安装mysql时一直卡在starting the server这一位置,解决方案
5.
秋招总结指南之“性能调优”:MySQL+Tomcat+JVM,还怕面试官的轰炸?
6.
布隆过滤器了解
7.
深入lambda表达式,从入门到放弃
8.
中间件-Nginx从入门到放弃。
9.
BAT必备500道面试题:设计模式+开源框架+并发编程+微服务等免费领取!
10.
求职面试宝典:从面试官的角度,给你分享一些面试经验
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
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
>>更多相关文章<<