2016-03-15 66 views
0

我得到一個異常在org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException中嵌套:在類路徑資源的XML文檔中的第198行[META-INF/spring/integration/spring-integration -context.xml]無效;嵌套異常是org.xml.sax.SAXParseException; lineNumber:198; columnNumber:88; cvc-complex-type.2.4.c:匹配通配符是嚴格的,但是對於元素'int-ws:outbound-gateway'沒有聲明。: org.xml.sax.SAXParseException; lineNumber:198; columnNumber:88; cvc-complex-type.2.4.c:匹配的通配符是嚴格的,但是對於元素「int-ws:outbound-gateway」沒有聲明。spring集成出站網關sax解析異常

的xml文件看起來像

我已經加入了相關的XSD也。任何線索。

回答

0

能幫:

<beans xmlns="http://www.springframework.org/schema/beans" 
xmlns:context="http://www.springframework.org/schema/context" 
xsi:schemaLocation="http://www.springframework.org/schema/context  http://www.springframework.org/schema/context/spring-context-4.3.xsd >