인프런 커뮤니티 질문&답변
cannot find symbol class Model 오류가 발생합니다
작성
·
3.3K
0
@Controller
public class HelloController {
@GetMapping("hello")
public String hello(Model model) {
model.addAttribute("data", "hello!!");
return "hello";
}
}
위를 복사하여 실행할때,
cannot find symbol class Model라고 오류가 발생합니다!ㅠ






감사합니다..ㅠ