博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mybatis错误2
阅读量:7103 次
发布时间:2019-06-28

本文共 632 字,大约阅读时间需要 2 分钟。

  hot3.png

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'delete' in 'class com.education.model.Answer'

    at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:75)
    at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
    at com.sun.proxy.$Proxy15.insert(Unknown Source)
    at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
解决:检查model、xml和数据库中的字段是否对应

xml的命名空间、结果集、传参等方面是否正确。

转载于:https://my.oschina.net/8824/blog/2990290

你可能感兴趣的文章
用MDT 2012为企业部署windows 7(八)--部署windows 7旗舰版(光盘版,非模板部署)...
查看>>
Linux 系统性能诊断命令top vmstat ps
查看>>
document页面宽高度计算
查看>>
安装BigBlueButton(视频教室)
查看>>
蓝头网络 - lantCMS系统怀念ACCESS版
查看>>
substring可能导致的内存泄露
查看>>
Android之wifi篇
查看>>
mysql忘记密码,不能登录
查看>>
线程池之ThreadPoolExecutor
查看>>
我的友情链接
查看>>
12306,SQL彻底暴露了你们的水平!
查看>>
window.location.origin兼容问题
查看>>
我的友情链接
查看>>
解压缩命令gzip -d和tar -xvf区别
查看>>
把表二缺少的列补全
查看>>
国外不知名的15家访问量惊人网站
查看>>
6、xen虚拟机破解密码
查看>>
ssh The authenticity of host '172.18.19.XXX (172.18.19.XXX)' can't be established.
查看>>
CxImage Linux 编译
查看>>
我的友情链接
查看>>