changed @Controller for @RestController annotation as Spring 4 advices