简体   繁体   English

启动 spring 时出错找不到 class [org.springframework.ws.config.annotation.WsConfigurationSupport]

[英]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.

相关问题 启动 spring 引导时出错 - 无法自省 Class [org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration] - Error starting spring boot - Failed to introspect Class [org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration] 使用@Scheduled spring注释时出现异常(无法找到类[org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor]) - Exception when using @Scheduled spring annotation (Cannot find class [org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor]) 面临问题“在 spring-boot 应用程序中找不到类 [org.springframework.data.jdbc.repository.config.JdbcConfiguration] - Facing an issue "Could not find class [org.springframework.data.jdbc.repository.config.JdbcConfiguration] in spring-boot app Spring Boot Mongo Reactive class not found - 找不到 class [org.springframework.data.mongodb.MongoDatabaseFactory] - Spring Boot Mongo Reactive class not found - Could not find class [org.springframework.data.mongodb.MongoDatabaseFactory] Spring 启动 java.lang.IllegalArgumentException:找不到 class [org.springframework.boot.autoconfigure.security.securityAutoConfiguration] - Spring boot java.lang.IllegalArgumentException : could not find class [org.springframework.boot.autoconfigure.security.securityAutoConfiguration] 处理XML时发生错误“无法初始化类org.springframework.security.config.http.MatcherType” - Error occured processing XML 'Could not initialize class org.springframework.security.config.http.MatcherType' Java Spring WS org.springframework.ws.soap.saaj.SaajSoapEnvelopeException:无法访问信封 - Java Spring WS org.springframework.ws.soap.saaj.SaajSoapEnvelopeException: Could not access envelope Maven无法找到org.springframework.ws:spring-ws:1.5.8 - Maven unable to find org.springframework.ws:spring-ws:1.5.8 加载类[org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor]时出错 - Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] Docker 运行 - 错误:无法找到或加载主 class org.springframework.boot.loader.JarLauncher - Docker run - Error: Could not find or load main class org.springframework.boot.loader.JarLauncher
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM