There is no getter for property named 'begin' in 'class com.ive.pojo.Brand'
时间: 2023-10-25 19:00:56 浏览: 127
使用Mybatis遇到的there is no getter异常
问题: "There is no getter for property named 'begin' in 'class com.ive.pojo.Brand'"是什么意思?如何解决这个问题?
回答: 这个错误意味着在'com.ive.pojo.Brand'类中没有名为'begin'的属性的getter方法。要解决这个问题,你需要在'com.ive.pojo.Brand'类中添加一个名为'getBegin'的方法。这个方法应该返回'begin'属性的值。这样,MyBatis才能正确地访问和操作这个属性。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* [There is no getter for property named ‘user_name’ in ‘class com.example.demo.pojo.User’](https://blog.csdn.net/qq_45226877/article/details/123671059)[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^v92^chatsearchT0_1"}} ] [.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^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文