JAVA/오류 백과사전
오류 : The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
비전공자111
2023. 4. 25. 11:26
이클립스에서 새 프로젝트와 JSP 샘플을 만들었는데 만들자마자 오류가 생긴다.
오류: The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
원인 : 서버가 없어서 오류가 생긴다고 한다. JSP는 서버와 동작을 하기 때문에 서버를 같이 묶어줘야 오류가 생기지 않는거 같다(궁예)
해결 : 서버를 추가해준다