mybatis报错:
###Error building SqlSession.
###Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 99; 对实体 “characterEncoding” 的引用必须以 ‘;’ 分隔符结尾。
原因:
在写数据库的url地址时用了“&”符号,将“&”换成“&;”就好了
如下
03-23
1809
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-16
927
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-15
2354
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-12
945
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-14
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-05
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-19
501
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-17
1498
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-25
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)