[英]Error when start spring Could not find class [org.springframework.ws.config.annotation.WsConfigurationSupport]
I use IntelliJ to develop my project.我使用 IntelliJ 开发我的项目。 The project starts off without any framework, later on I was trying to add spring boot by adding dependencies in Maven.
该项目在没有任何框架的情况下开始,后来我试图通过在 Maven 中添加依赖项来添加 spring 引导。 Then I got this error when I trying to start the server.
然后当我尝试启动服务器时出现此错误。
ERROR : java.lang.IllegalArgumentException: Could not find class [org.springframework.ws.config.annotation.WsConfigurationSupport]
https://i.stack.imgur.com/88I7J.png
https://i.stack.imgur.com/88I7J.png
I think that you don't have org.springframework.ws.config.annotation.WsConfigurationSupport packages in your project我认为您的项目中没有org.springframework.ws.config.annotation.WsConfigurationSupport包
<!-- https://mvnrepository.com/artifact/org.springframework.ws/spring-ws-core -->
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>3.0.1.RELEASE</version>
</dependency>
so you'd better write this sentence in pom.xml所以你最好把这句话写在 pom.xml
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.