Cause: com.ibatis.common.exception.
NestedRuntimeException: XML Parser Error.
Cause: org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Content is not allowed in prolog.
请教??
NestedRuntimeException: XML Parser Error.
Cause: org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Content is not allowed in prolog.
请教??
PUBLIC "-//ibatis.apache.org//DTD DAO Configuration 2.0//EN"
"http://ibatis.apache.org/dtd/dao-2.dtd">
Content is not allowed in prolog.意思就是说文件开头的时候有问题。把xml 动手敲一遍,删除不该有的间隔符:比如空格,制表符(TAB)等。