[Spring:Error] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
HighCode/Java
2016. 12. 21. 17:36
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
갑자기 에러가 나서 뒤적여보니 톰캣 라이브러리가 제대로 import 되지 않아서 였다.
해결법
해당 프로젝트 마우스 우클릭 > Build Path > Configure Build Path
Library 탭에서 add Library 버튼 > Server Runtime > Tomcat Server(버젼은 각자의 버젼에 맞도록) 선택
'HighCode > Java' 카테고리의 다른 글
| [Spring] 이클립스(eclipse) 톰캣 연동 오류 총 정리 (3) | 2018.08.25 |
|---|---|
| [Spring] Controller 에서 ModelAndView 와 String 으로 리턴할때 차이 (0) | 2016.12.22 |
| [Spring:Error] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path (0) | 2016.12.21 |
| [JSTL] Map에 있는 elements들을 원하는 순서대로 출력 (0) | 2016.12.21 |
| [Spring] Restful한 스프링 @ResponseBody vs @RestController (1) | 2016.12.21 |
| 프알못을 위한 Java 04. 조건문 if 와 switch (0) | 2016.09.27 |