RestController do not work !!
RestController 404 not found : The Controller is in the same package as @SpringBootApplication but I cannot view any information during startup about RestController mapping url. The error is HTTP 404 not found.
Solution : you have to add this dependecy to your Pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
<version>2.1.5.RELEASE</version>
</dependency>