import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
-import javax.annotation.Resource;
+import jakarta.annotation.Resource;
@Controller
@org.springframework.context.annotation.Configuration