There is no getter for property named 'createtime' in 'class com.example.goldenbridgejava.entity.CztSales'
时间: 2023-10-25 18:59:49 浏览: 103
这个报错是因为在实体类com.example.goldenbridgejava.entity.CztSales中没有名为'createtime'的属性的getter方法。\[1\]根据你提供的引用内容,可以看出你的XML文件中的字段名是'create_time',而不是'createtime'。所以你需要将XML文件中的'createtime'改为'create_time',与实体类中的属性名保持一致。\[2\]\[3\]这样就可以解决这个报错了。
#### 引用[.reference_title]
- *1* [org.apache.ibatis.reflection.ReflectionException: There is no getter for property named '**' in 'cla](https://blog.csdn.net/weixin_43558566/article/details/103818964)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [There is no getter for property named](https://blog.csdn.net/qq_53635765/article/details/125631272)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文