报错:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence 1 字节的 UTF-8 序列的字节 1 无效。

问题的根源是:

The cause of this is a file that is not UTF-8 is being parsed as UTF-8. It is likely that the parser is encountering a byte value in the range FE-FF. These values are invalid in the UTF-8 encoding.

解决办法

将.xml的编码保存为“UTF-8无BOM”形式,把xml的encoding属性值UTF-8改为UTF8