解决There is no getter for property named 'xxx' in 'classxxxx'
今天在做新增时遇到的报错.
Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'regContactPhone' in 'class com.xxx.bean.user.User'
报错内容大概是说 sql语句没找到相关的映射之类的.
这里给个快速定位的方法:
1.在上面一排找到这个工具
2.选择'File Seach',把报错关键字放进去text里 , 星号代表搜索全部(是默认*) 点击开始搜索
3. 双击找到了报错的关键字位置 , 对应检查实体类中有无此字段或者是否拼错.
完毕.
解决There is no getter for property named 'xxx' in 'classxxxx'相关推荐
- Mybatis There is no getter for property named 'XXX' in 'class java.lang.XXX
Mybatis查询 使用Mybatis查询时,其参数可以是基本数据类型或者像Integer和String这样的简单的数据对象,也可以是复杂对象(一般是指JavaBean)或者map等,当使用基本数据类 ...
- 实力踩坑:There is no getter for property named ‘XXX‘ ‘class XXX‘
实力踩坑:There is no getter for property named 'XXX' 'class XXX' 1.异常错误日志 2.分析原因解决 1.异常错误日志 org.apache.i ...
- There is no getter for property named 'xxx' in 'class.....'
mybatis There is no getter for property named 'xxx' in 'class.....' 在确定该字段在entity中添加了get set方法之后,通常 ...
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named XXX
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.Reflecti ...
- Mybatis异常There is no getter for property named ‘XXX‘ in ‘class java.lang.String‘
Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String' 参考文章: (1)Mybatis异常T ...
- There is no getter for property named ‘xxx‘ in ‘class com.test.project.entity.
SpringBoot 项目使用mybatis操作数据库时报错 There is no getter for property named 'xxx' in 'class com.test.projec ...
- There is no getter for property named 'XXX' in class 'aaa.bbb.ccc'(终极骚操作的解决方法)...
使用SpringBoot整合Mybatis时,遇到了像标题的异常,博主当时是用Bean类对象作为参数的,所以百度了很久都没有建设性答案.贴一下报错的xxxDao文件和xxxMapper.xml文件: ...
- There is no getter for property named 'XXX' in class 'aaa.bbb.ccc'(终极骚操作的解决方法)
使用SpringBoot整合Mybatis时,遇到了像标题的异常,博主当时是用Bean类对象作为参数的,所以百度了很久都没有建设性答案.贴一下报错的xxxDao文件和xxxMapper.xml文件: ...
- 解决 There is no getter for property named ‘null‘ in ‘class 报错
报错内容: Resolved [org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.r ...
最新文章
- OPPO和微软合作,开放“召唤小冰”
- 面试官:海量无序数据,寻找第 K 大的数,越快越好
- mysql空间释放_linux 空间释放,mysql数据库空间释放
- Go学习笔记—多线程
- 调色板栅格数据使用GDAL时注意
- Android官方开发文档Training系列课程中文版:电池续航时间优化之检查、检测网络连接状态
- docker 磁盘问题:device or resource busy
- JavaScript类型转换的有趣应用
- 可塑性极强渐变几何空间,设计中不可或缺的素材
- (转)Vsdocman7.2 注册版
- FRR BGP 协议分析2 -- 创建对等体的命令分析
- C# 网页自动填表自动登录 .
- HMM隐马尔科夫模型及股票预测
- norton服务器 位置,逐步配置企业版Symantec Norton防病毒服务器
- 计算机硬盘图标不见了,电脑硬盘图标不见了怎么办
- DHCPv6技术介绍
- 使用Elasticsearch搭建一个文件搜索系统(带界面)
- 分布式高可靠:流量控制
- Windows服务器tomcat日志拆分(cronolog )
- Python(八)阶段小结
热门文章
- pygame网络游戏_4_1:人物行走_地图设计
- Python中整数移位及二进制串操作
- libvirt-qemu-虚拟机设备热插拔实践
- 新手区题目六:坚持60s
- .net framework3.5无法安装解决办法
- 线性规划问题——scipy.optimize.linprog
- 零跑汽车上市破发,第四上市为何难获高估值
- 【UE4】在UE4的蓝图中实现文件的下载
- 安卓上的 3D 模型加载 和骨骼动画 库 SceneView
- 毕设:基于SpringBoot+Vue 实现云音乐(前后端分离)