Saturday, 4 April 2020

Spring Boot: Cannot access REST Controller on localhost (404)



If you downloaded spring boot project from http://start.spring.io/ then you have your main class in some package. For example if the package for the main class is: "com.example" then and your controller must be in package: "com.example.controller".

No comments:

Post a Comment