I think your jars are not downloaded or not in build path(Maven dependencies jar in eclipse) check all of spring boot jars are downloaded and these jars are in build path.Right click on project update your maven project select offline and force update option checkbox. and also check
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
solved @RequestMapping annotation isn’t display while using Press ‘Ctrl+Space’.No completions available.I worked on STS-3 IDE [closed]