Build fail in springboot and 40 error

spring-boot first module

when i run ./gradlew bootRun
this error occurs

import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PostMapping;

import org.springframework.web.bind.annotation.RequestBody;

import org.springframework.web.bind.annotation.RequestParam;

import org.springframework.web.bind.annotation.RestController;

the import org.springframework cannot be resolvedJava(268435846)

build fail