簡體   English   中英

啟動 spring 時出錯找不到 class [org.springframework.ws.config.annotation.WsConfigurationSupport]

[英]Error when start spring Could not find class [org.springframework.ws.config.annotation.WsConfigurationSupport]

我使用 IntelliJ 開發我的項目。 該項目在沒有任何框架的情況下開始,后來我試圖通過在 Maven 中添加依賴項來添加 spring 引導。 然后當我嘗試啟動服務器時出現此錯誤。

ERROR : java.lang.IllegalArgumentException: Could not find class [org.springframework.ws.config.annotation.WsConfigurationSupport]

在此處輸入圖像描述 https://i.stack.imgur.com/88I7J.png

我認為您的項目中沒有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>

所以你最好把這句話寫在 pom.xml

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM