Caused by: java.lang.IllegalStateException: No typehandler found for property xxx

1、报错信息
Caused by: java.lang.IllegalStateException: No typehandler found for property xxx
2、原因
在相应的xml里的resultMap标签里的result标签里的property属性的值没有在实体类里找到,即property的值没有和实体类的属性名相对应,原因可能是你写错了。
3、解决办法
进入相应的xml文件里,把该报错的值与实体类的属性对照,看是否写错了,如果写错则改成实体类有的属性。

Caused by: java.lang.IllegalStateException: No typehandler found for property xxx最先出现在Python成神之路

版权声明:
作者:Zad
链接:https://www.techfm.club/p/20735.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>