Error creating document instance. Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1 字节的 UTF-8 序列的字节 1 无效。
解决方法
方法一:将编码改为UTF-8
点击clean
上述问题就会解决
方法二:
在pom.xml中加上
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
上图是我的pom文件
望能对大伙有些帮助