昨天晚上提交的代码,今天运行起来,始终报错:app
Open quote is expected for attribute "{1}" associated with an element type 'id',查了半天,以为很奇怪。ide
回滚到昨天的代码,运行正常。通过compare代码,发现本身将ibatis配置文件App.xml的修改成了, 真是晕倒。不经意的笔误,害本身查了一个上午。spa
- <delete id=delete>
- <![CDATA[
- DELETE FROM app WHERE
- id = #id#
- ]]>
- </delete>
正确的为以下:xml
- <delete id="delete">
- <![CDATA[
- DELETE FROM app WHERE
- id = #id#
- ]]>
- </delete>
靠...ci