I have created demo Spring Boot project and implemented Restful services as shown here
@RestController
public class GreetingsController {
@RequestMappin
For me I have the same error, but I realise that the path I put to call the api is the problem.
If my application name is demo, I have to call
http://localhost:9090/AdminProducts
to access AdminProducts,
not http://localhost:9090/demo/AdminProducts
. This name may be use after deploying the war in tomcat.