[JSP] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 해결방법

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

문장 그대로 해석해보면 자바에서 javax.servlet.http.HttpServlet클래스를 찾을 수 없다는 것.

그걸 넣어주면 되는데 

라이브러리 형태로 현재 사용하고있는 was를 넣어주면 된다.

 

프로젝트 우클릭 -> Build path -> configuration build -> Libraries 탭 -> add library -> server runtime -> was 선택

 

해주면 해결될 것입니다.

댓글

Designed by JB FACTORY