您的位置:首页 > 其它

MyBatis报错:The content of elements must consist of well-formed character data or markup.

2016-09-23 15:32 686 查看
错误:

Caused by: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.

排除了一会发现跟下面语句的小于号<有关:



改为这样就没事了:



【像小于号这种特殊符号在mabatis的xml中需要转义】:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐