spring mybatis project startup error There is no READABLE property named'xx' in class

After adding an update method to the xml, the project started reporting an error. At first, due to the large number of logs, no key error information was found for a while, and then the real error was only seen after scrolling upwards:

Caused by: java.lang.RuntimeException: Error parsing XPath '/sqlMap/update'.  Cause: com.ibatis.common.beans.ProbeException: There is no READABLE property named 'xx' in class 'xxx'
    at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:123)
    at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:84)
    at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102)
    at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72)
    at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:60)
    ... 110 more
Caused by: com.ibatis.common.beans.ProbeException: There is no READABLE property named 'xx' in class 'xxx'
错误原因:新增的update方法中有一个属性写错了

Solution: modify the attributes, solve the problem

Guess you like

Origin blog.csdn.net/noob9527/article/details/94462103