Spring Boot API with Multiple Controllers?
问题 I am starting to learn Spring Boot. I am struggling to find an example with multiple RestControllers, which indicates to me that I may be doing something wrong. I am trying a very simple example: The goal is to make calls like the following: localhost:8080/ localhost:8080/employees/bob localhost:8080/departments I can only get localhost:8080/ to display. The other calls return response: This application has no explicit mapping for /error, so you are seeing this as a fallback. com.demo