【问题标题】:Spring-WS and Spring-integration: Getting SAXParseException: smartLifeCycleAttributeGroupSpring-WS 和 Spring-integration:获取 SAXParseException:smartLifeCycleAttributeGroup
【发布时间】:2014-06-12 11:37:46
【问题描述】:

我正在尝试按照此处的步骤实现 Web 服务代理。 http://forum.spring.io/forum/spring-projects/integration/114641-how-to-implement-the-web-service-proxy-pattern

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:http://www.springframework.org/schema/integration/ws/spring-integration-ws.xsd;行号:274;列号:72; src- 解决:无法将名称“集成:smartLifeCycleAttributeGroup”解析为 (n) '属性组' 组件。

有人可以帮我解决这个问题吗? spring-ws-config xml中还有什么要添加的吗?

谢谢, 斯里

【问题讨论】:

    标签: spring-integration spring-ws


    【解决方案1】:

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

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

    【讨论】:

    • 谢谢。错过了spring-integration-core。添加最新版本有助于解决此问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-04
    • 2013-01-05
    • 1970-01-01
    • 2012-03-03
    • 1970-01-01
    相关资源
    最近更新 更多