我想在Web应用程序中使用org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor。在pom.xml中,我添加了

<dependency>
    <groupId>org.springframework.ws</groupId>
    <artifactId>spring-ws-core</artifactId>
    <version>2.2.1.RELEASE</version>
</dependency>


依赖项属性。但是在spring配置中,它说'org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor'未找到。任何想法?

最佳答案

http://www.findjar.com/寻找org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor,我发现它存在于以下行家位置:http://mirrors.ibiblio.org/pub/mirrors/maven2/org/springframework/ws/spring-ws-security/1.5.6/spring-ws-security-1.5.6.jar

那应该是

<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-security</artifactId>
<version>1.5.6</version>


可能还有其他版本,但这是完全不同的工件。可以肯定的是,只需要查看罐子中是否确实存在缺少的类即可。

10-07 18:55
查看更多