Closed longqinsi closed 4 years ago
You need to exclude spring-boot-starter-web from spring-boot-starter-web-services in pom.xml, otherwise this will be a blocked web site instead of a reactive web site:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web-services</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </exclusion> </exclusions> </dependency>
actually it does not affect current behaviour since controller is not reactve. Howeever no need to starter-web. fixed
You need to exclude spring-boot-starter-web from spring-boot-starter-web-services in pom.xml, otherwise this will be a blocked web site instead of a reactive web site: