亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

updateArea()測試提示:nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'PRIORITY'

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'PRIORITY',請問有知道怎么解決的吧,百度沒找到答案。mabatis-config和老師的一模一樣

正在回答

1 回答

找到原因了,原來是mapper里面的AreaDao的update方法中

<if?test="PRIORITY?!=?null">PRIORITY?=?#{priority},</if>之前是這么寫的,
改成<if?test="priority?!=?null">PRIORITY?=?#{priority},</if>就行了


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

updateArea()測試提示:nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'PRIORITY'

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號