MyBatis Exception 2字节的UTF-8序列的字节2无效
MyBatis Exception 2字节的UTF-8序列的字节2无效
xml文件中的中文注释的问题,有两种解决方案:
一、删除*.xml文件中文注释
二、将xml文件顶部的encoding=UTF-8改为encoding=UTF8
<?xml version="1.0" encoding="UTF-8" ?> <!--Exception-->
<?xml version="1.0" encoding="UTF8" ?> <!--正确-->
...
原创
2021-05-22 09:55:47 ·
280 阅读 ·
0 评论