读书人

错误: Could not parse configuratio

发布时间: 2013-07-24 14:36:29 作者: rapoo

异常: Could not parse configuration: /hibernate.cfg.xml

Error on line 2 of document? : The processing instruction target matching "[xX][mM][lL]" is not allowed. Nested exception: The processing instruction target matching "[xX][mM][lL]" is not allowed.

今天遇到这样一个错误,原因很简单

<?xml version='1.0' encoding='UTF-8'?>?????? 这段配置没有放在第一行

读书人网 >XML SOAP

热点推荐