Check the @RequestBody import
,
wrong that will cause the problem in most cases.
import io.swagger.v3.oas.annotations.parameters.RequestBody;
to solve problem It should be
import org.springframework.web.bind.annotation.RequestBody;
More Related Contents:
- Spring Boot Remove Whitelabel Error Page
- Spring Boot Security CORS
- Spring Boot – How to get the running port
- Fire and forget with reactor
- Spring Boot CORS filter – CORS preflight channel did not succeed
- Environment Specific application.properties file in Spring Boot application [closed]
- Spring Data – ignore parameter if it has a null value
- Spring catch all route for index.html
- spring boot war without tomcat embedded
- Why did Spring framework deprecate the use of Guava cache?
- implement dynamically datasource in spring data jpa
- How to conditionally declare Bean when multiple profiles are not active?
- Spring boot how to read properties file outside jar
- Added Springfox Swagger-UI and it’s not working, what am I missing?
- How to use LocalDateTime RequestParam in Spring? I get “Failed to convert String to LocalDateTime”
- Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured
- Spring Security: mapping OAuth2 claims with roles to secure Resource Server endpoints
- How to use multiple login pages one for admin and the other one for user
- Spring Boot and how to configure connection details to MongoDB?
- Database application.yml for Spring boot from applications.properties
- Add a Servlet Filter in a Spring Boot application
- Changing default welcome-page for spring-boot application deployed as a war
- How to pass system property to Gradle task
- How to prevent Spring Boot daemon/server application from closing/shutting down immediately?
- CSS not loading in Spring Boot
- How to allow a User only access their own data in Spring Boot / Spring Security?
- Spring – How to stream large multipart file uploads to database without storing on local file system [duplicate]
- Spring Boot SSL Client
- java 9 module reads package X from A and B
- With Spring Data REST, why is the @Version property becoming an ETag and not included in the representation?