Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
该错误出现的原因是mybatis对应的sqlMapConfig.sql中的文字注释"<!-- 文字-->",文字后面无空格,正确注释方式应该是文字前后都需要空格如"<!-- 文字注释 -->"