使用applicationContext.xml将Spring 2.5.6升级到3.1.0 ...问题

时间:2013-04-08 04:58:07

标签: spring

我正在尝试从spring 2.5.6升级到3.1.0。但它会抛出这样的错误:

2

013-04-08 10:01:11,171 INFO Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@b82365: display name [org.springframework.context.support.ClassPathXmlApplicationContext@b82365]; startup date [Mon Apr 08 02:01:11 NDT 2013]; root of context hierarchy
2013-04-08 10:01:11,171 INFO Loading XML bean definitions from class path resource [httpPatientClientService.xml]
2013-04-08 10:01:22,787 WARN Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) ...

请帮助。

Giriraj Sharma

0 个答案:

没有答案