There is no getter for property named 'null' in 'class com.etc.demo.entity.Shangjia
时间: 2023-08-21 12:07:11 浏览: 128
Mybatis单个参数的if判断报异常There is no getter for property named 'xxx' in 'class java.lang.Integer'的解决方案
回答: 这个错误是由于在类com.etc.demo.entity.Shangjia中没有名为'null'的属性的getter方法引起的。\[3\]为了解决这个问题,你可以在该属性上添加一个getter方法,或者检查是否在代码中使用了错误的属性名。
#### 引用[.reference_title]
- *1* *2* [There is no getter for property named ‘null‘ in ‘class](https://blog.csdn.net/m0_56750901/article/details/125143341)[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]
- *3* [解决There is no getter for property named ‘XXX‘ in ....](https://blog.csdn.net/AsFarmer/article/details/120948582)[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 ]
阅读全文