nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'mission_state' in 'class com.sugon.cloud.dav.customize.netin.pojo.po.HiveImportTask'
时间: 2023-05-21 15:00:45 浏览: 71
这个错误提示是 MyBatis 框架中的一个异常,它表示在 com.sugon.cloud.dav.customize.netin.pojo.po.HiveImportTask 类中没有名为 'mission_state' 的属性的 getter 方法。可能是因为该属性名拼写错误或者确实不存在。您可以检查一下该类的定义和对应的数据库表结构,看看是否存在这个属性。如果不存在,您可以考虑添加该属性或者修改对应的 SQL 语句。
相关问题
nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'Area' in 'class
C知道': 哈喽!感谢你的提问。根据你的描述,你遇到了一个异常:`nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'Area' in 'class`。这个异常通常是由于在指定的类中找不到名为'Area'的属性的 getter 方法造成的。可能是在你的类中忘记编写了该属性的 getter 方法,或者属性名拼写有误导致找不到。
请确保在你的类中存在名为'Area'的属性,并且有对应的 getter 方法。确保 getter 方法的命名规范正确,例如属性名为'Area',getter 方法应该命名为'getArea'。
如果还有其他问题,请提供更多详细信息,我会尽力帮助你解决问题。
org.mybatis.spring.mybatissystemexception: nested exception is org.apache.ibatis.reflection.reflectionexception: there is no getter for property named
这个异常信息是mybatis-spring框架抛出的,意思是在封装查询结果集的时候,无法找到一个名为“propertyName”的属性的getter方法。出现这个异常通常代表着查询结果与映射的实体类属性不匹配,需要检查一下映射文件中的SQL语句和实体类是否正确。