Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/update'.
Cause: java.util.NoSuchElementException
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:62)
at com.ibatis.sqlmap.engine.builder.xml.sqlMapParser.parse(sqlMapParser.java:44)
at com.ibatis.sqlmap.engine.builder.xml.sqlMapConfigParser$10.process(sqlMapConfigParser.java:257)
at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121)
... 96 more
<update id="updateTableById" parameterClass="ParamClass"> UPDATE table1 set updated_time=now(),send_time = #sendTime# where id =#id# and <![CDATA[send_time < #{sendTime}]]> </update> 提示update结点有错误,修改后是:(把{}去掉) <update id="updateTableById" parameterClass="ParamClass"> UPDATE table1 set updated_time=now(),send_time = #sendTime# where id =#id# and <![CDATA[send_time < #sendTime]]> </update>