开发者社区> 问答> 正文

ibatis各种报错?报错

Caused by: 
com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xdf71) was found in the CDATA section.
Caused by: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xdf71) was found in the CDATA section.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xdf71) was found in the CDATA section.
Caused by: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xdf71) was found in the CDATA section.

展开
收起
爱吃鱼的程序员 2020-06-22 11:42:19 579 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <spanstyle="font-family:楷体,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">AninvalidXMLcharacter<spanstyle="font-family:楷体,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">XML文件的编码问题,用notepad++看看,改一致就行了检查<<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">CDATA>CDATA看起来可能是用了windows的记事本编辑过文件,或者从其他地方拷贝过一些内容,导致cdata部分有无法识别的乱码

    2020-06-22 11:42:37
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载