我正在開發mule應用程序。該應用程序已成功打包並安裝在獨立服務器上。Eclipse IDE中的Mule項目
當試圖在eclipse IDE上運行時,同一個項目出錯。掙扎着這個錯誤。
我使用Maven作爲構建器。
請幫忙。下面給出的是錯誤。
INFO: Refreshing [email protected]: 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 *
********************************************************************************
請幫忙。
感謝
當你說「Eclipse IDE」時,你是指「Mule Studio」還是純粹的Eclipse?如果純Eclipse,你如何啓動Mule? –