Spring integration Spring WS和Spring集成:获取SAXParseException:smartLifeCycleAttributeGroup

Spring integration Spring WS和Spring集成:获取SAXParseException:smartLifeCycleAttributeGroup,spring-integration,spring-ws,Spring Integration,Spring Ws,我尝试按照下面的步骤实现一个web服务代理。 Spring-ws-config.xml: <int-ws:inbound-gateway id="proxy" request-channel="toOutbound"/> <int:channel id="toOutbound" /> <int-ws:outbound-gateway id="out" request-channel="toOutbound" uri="http://localhost:8080

我尝试按照下面的步骤实现一个web服务代理。

Spring-ws-config.xml:

<int-ws:inbound-gateway id="proxy" request-channel="toOutbound"/>

<int:channel id="toOutbound" />

<int-ws:outbound-gateway id="out" request-channel="toOutbound" uri="http://localhost:8080/helloproxy" />

部署代理服务时获取此异常

org.xml.sax.SAXParseException;系统ID:;行号:274;栏目号:72;src- 解析:无法将名称“integration:smartLifeCycleAttributeGroup”解析为 (n) “属性组”组件

有人能帮我修一下吗?在spring ws-config xml中是否还需要添加其他内容

谢谢,
Sri

或者您混合了spring集成jar版本(SI ws是一个版本,但SI core是另一个版本),或者这只是IDE的问题


Spring Nature(STS)应该有助于解决所有XSD验证问题。

谢谢。错过了spring集成核心。添加最新版本有助于解决此问题。