본문 바로가기
spring framwork 에러노트

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

by applejune 2022. 8. 23.

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

상단에 이 에러가 떴을 경우...

 

1.

프로젝트 마우스 오른쪽 버튼을누른 후 properties 를 누른 후, java buildpath에서 라이브러리 확인한다. 

 

2. 다음 project facets 에서 톰캣 버전을 확인한다. 

 

 

참조

 

https://simuing.tistory.com/entry/%EC%9D%B4%ED%81%B4%EB%A6%BD%EC%8A%A4-%EC%97%90%EB%9F%AC%ED%95%B4%EA%B2%B0-The-superclass-javaxservlethttpHttpServlet-was-not-found-on-the-Java-Build-Path