Spring bootでクライアントからの通信確認試みるも待ち合わせできなかった話
1057 ワード
http通信の待ち合わせがしたいのですが実行してもspringアプリが終了してしまいます。
コントローラークラスのアノテーションをクイックフィックスで直した際に追加した依存がまずかったようです。まずいのは下記の部分
pom.xml
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.3.6</version>
</dependency>
正しくはこちら
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web-services</artifactId>
</dependency>
Author And Source
この問題について(Spring bootでクライアントからの通信確認試みるも待ち合わせできなかった話), 我々は、より多くの情報をここで見つけました https://qiita.com/NoOne/items/559286cef43248767358著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .