今天开始使用maven这个项目管理框架,配合主流的三大框架,和jquery easyui 开发一个管理后台,在搭建环境时,出现配置启动报错
网上有一个解答:
The reason was in JVM version. Platforms where deployment was successful used JVM 1.5 but problematical one had JVM 1.6. SAX2DOM class from Java 1.6 has a call to DocumentImpl::setXmlVersion() from itssetDocumentInfo(). The version of xerces library I used doesn't have this method - it's a real reason of exception. So after I downloaded the latest version of xerces everything works fine.
需要去掉xercesImpl.jar
经过测试可以使用!