Which Spring Framework provides REST Services?
This question already has an answer here:
You don't need a Framework to implement REST Services with Spring, it's just a possibile way to how you can implement Services in Spring.
As the official doc Spring - Creating RESTful services says:
Spring's annotation-based MVC framework serves as the basis for creating RESTful Web Services.
So, if you haven't added spring-web
& spring-webmvc
dependencies to your project, this can be something you have to do.
上一篇: 验证个别请求参数