Java Wss4jSecurityInterceptor类未找到错误
我想在我的web应用程序中使用Java Wss4jSecurityInterceptor类未找到错误,java,spring,web-services,maven,soap,Java,Spring,Web Services,Maven,Soap,我想在我的web应用程序中使用org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor。在pom.xml中,我添加了 <dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws-core</artifactId> <version>
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>
org.springframework.ws
SpringWS核心
2.2.1.发布
依赖属性。但是在spring配置中,它说找不到“org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor”。有什么想法吗?正在寻找org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor,我看到它出现在这个maven位置: 那应该是
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-security</artifactId>
<version>1.5.6</version>
org.springframework.ws
spring ws-security
1.5.6
可能还有其他版本,但这是一个完全不同的工件。当然,只要看看丢失的类是否真的存在于您希望它存在的jar中。事实上,我只是快速查看了一下,发现类不存在:jar tf~/.m2/repository/org/springframework/ws/spring-ws-core/2.2.1.RELEASE/spring-ws-core-2.2.1.RELEASE.jar | grep Wss4jSecurityInterceptor