본문 바로가기

개발(합니다)/시나브로(이슈)

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

반응형

빌드 경로를 찾지 못하는 에러



 

해결 방법

요약

  1. Preferences - Server - Add - tomcat 추가
  2. 프로젝트 - java build path - Liberaries 탭 - add Liberary..
  3. Server runtime - tomcat 추가
-> project facets에서 해결하는 방법도 있음




 

  1. Preferences - Server -Add - tomcat 추가

 


  1. java build path


 

  1. Add Library

 


  1. Server Runtime

 


  1. tomcat 추가

 


  1. 확인

 


  1. 에러 해결


반응형