嗨,我是部署一個彈簧集成的Web應用程序到Apache的Tomcat的8.0.36:maven的依賴是:如何解決HTTP的方法是不允許出站網關
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-core</artifactId>
<version>4.3.5.RELEASE</version>
</dependency>
,但我「M收到以下異常的時候,我將應用程序部署:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 89 in XML document from ServletContext resource [/WEB-INF/spring/application-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 89; columnNumber: 100; cvc-complex-type.3.2.2: Attribute 'http-method' is not allowed to appear in element 'int-http:outbound-gateway'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) ~[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
我還可以看到彈簧集成核心 - 4.3.5.RELEASE.jar中的的WEB-INF/lib文件夾戰爭。
如果是這樣,請接受/投它 – ozgur