There is no getter for property named 'siteAssociationMenus' in 'class com.czy.dto.accoc
Posted chenziyue
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了There is no getter for property named 'siteAssociationMenus' in 'class com.czy.dto.accoc相关的知识,希望对你有一定的参考价值。
1.检查实体类是否有get和set方法
2.字段名是否写错
3.加上@Param注解
4.如果用的springboot整合mybatis 注意@Param注解的包
springboot的是
org.springframework.data.repository.query.Param;
mybatis的是
org.apache.ibatis.annotations.Param;
以上是关于There is no getter for property named 'siteAssociationMenus' in 'class com.czy.dto.accoc的主要内容,如果未能解决你的问题,请参考以下文章
mybatis出现There is no getter for property named ...的原因及解决办法
There is no getter for property named 'NULL' in ……
Mybatis单个参数报错: There is no getter for property named
Mybatis单个参数报错: There is no getter for property named
Mybatismybatis查询报错org.apache.ibatis.reflection.ReflectionException: There is no getter for propert(代
Mybatis单个参数的if判断(针对异常:There is no getter for property..)------mybatis的内置对象