org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-fo

 

错误原因:

配置文件中<?xml version="1.0" encoding="UTF-8"?>
<! DOCTYPE sqlMapConfig
PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
"http://www.ibatis.com/dtd/sql-map-config-2.dtd" >

<! DOCTYPE 中间多个空格

你可能感兴趣的:(org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-fo)