spring boot @RestController cannot be resolved code example
Example: restcontroller cannot be resolved to a type eclipse
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.1.6.RELEASE</version>
</dependency>