我正在开发一个骡子应用程序。该应用程序已成功打包并安装在 mule 独立服务器上。
尝试在 Eclipse IDE 上运行相同的项目时出现错误。与此错误作斗争。
我使用 Maven 作为构建器。
请帮忙。下面给出的是错误。
INFO: Refreshing org.mule.config.spring.MuleApplicationContext@148238f4: startup date [Thu Nov 29 09:36:07 EST 2012]; root of context hierarchy
Nov 29, 2012 9:36:07 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Users/.m2/repository/org/mule/modules/mule-module-spring-config/3.3.0/mule-module-spring-config-3.3.0.jar!/mule-spring-config.xml]
Nov 29, 2012 9:36:07 AM org.springframework.util.xml.SimpleSaxErrorHandler warning
WARNING: Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-current.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 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at ........
Nov 29, 2012 9:36:07 AM org.mule.MuleServer shutdown
SEVERE:
********************************************************************************
Message : Line 6 in XML document from URL [jar:file:/C:/Users/.m2/repository/org/mule/modules/mule-module-spring-config/3.3.0/mule-module-spring-config-3.3.0.jar!/mule-spring-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
Code : MULE_ERROR-71999
--------------------------------------------------------------------------------
Exception stack is:
1. cvc-elt.1: Cannot find the declaration of element 'beans'. (org.xml.sax.SAXParseException)
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper:195 (null)
2. Line 6 in XML document from URL [jar:file:/C:/Users/.m2/repository/org/mule/modules/mule-module-spring-config/3.3.0/mule-module-spring-config-3.3.0.jar!/mule-spring-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. (org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader:396 (null)
3. Line 6 in XML document from URL [jar:file:/C:/Users/.m2/repository/org/mule/modules/mule-module-spring-config/3.3.0/mule-module-spring-config-3.3.0.jar!/mule-spring-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. (org.mule.api.lifecycle.InitialisationException)
org.mule.registry.AbstractRegistry:117 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/InitialisationException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
Nov 29, 2012 9:36:07 AM org.mule.MuleServer shutdown
SEVERE:
********************************************************************************
* A Fatal error has occurred while the server was running: *
* cvc-elt.1: Cannot find the declaration of element 'beans'. *
* (org.xml.sax.SAXParseException) *
* *
* The error is fatal, the system will shutdown *
********************************************************************************
请帮忙。
谢谢