tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!,500错误

编译器报错:
`tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!`

tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!,500错误

浏览器报错:
`Error: Request failed with status code 500`

tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!,500错误

解决办法:
因为实体类的属性使用的是`int`类型,页面传递数据,原始数据(int)类型不能映射,改成包装类(Integer)或者String类型就可以解决问题。

作为一个开发者,有一个学习的氛围跟一个交流圈子特别重要,这是一个我的iOS交流群:196800191,加群密码:112233,不管你是小白还是大牛欢迎入驻 ,分享BAT,阿里面试题、面试经验,讨论技术, 大家一起交流学习成长!

Request processing failed; nested exception is tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!

原文作者:strive_day
原文地址:https://striveday.blog.csdn.net/article/details/110671709

tk.mybatis.mapper.MapperException: 当前实体类不包含名为的属性!,500错误

上一篇:iOS自定义弹窗之翻牌动画—Swift


下一篇:IOS开发实现录音功能