jetty启动报错,但是tomcat启动正常!求解!
2013-04-0822:00:50.560:INFO::jetty-6.1.262013-04-0822:00:52.007:INFO:/:InitializingSp...
2013-04-08 22:00:50.560:INFO::jetty-6.1.26
2013-04-08 22:00:52.007:INFO:/:Initializing Spring root WebApplicationContext
[20130408 22:00:52] ERROR [main ] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from file [D:\trunk\WebRoot\WEB-INF\classes\spring\ApplicationContext-datasource.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@689e8c34] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
................
2013-04-08 22:00:52.317:INFO::Started SelectChannelConnector@0.0.0.0:8090
我的jdk版本是1.6 展开
2013-04-08 22:00:52.007:INFO:/:Initializing Spring root WebApplicationContext
[20130408 22:00:52] ERROR [main ] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from file [D:\trunk\WebRoot\WEB-INF\classes\spring\ApplicationContext-datasource.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@689e8c34] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
................
2013-04-08 22:00:52.317:INFO::Started SelectChannelConnector@0.0.0.0:8090
我的jdk版本是1.6 展开
2013-04-09
展开全部
Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
追问
用jdk1.5的?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询