hg_96 2021. 4. 20. 12:56

https://mine-it-record.tistory.com/306

참조

 

[Eclipse] 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 에러 해결 - SVN에 있는 프로젝트를 CHECK OUT 받았더니 시작부터 저런 에러가 나를 반긴다 해결하는 방법에 대해 기..

mine-it-record.tistory.com

 

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 에러 해결  -


SVN에 있는 프로젝트를 CHECK OUT 받았더니

 

시작부터 저런 에러가 나를 반긴다

 

해결하는 방법에 대해 기록해두고자 한다.


Multiple annotations found at this line:

- 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

 

이런 에러가 발생하였다 왜 중복해서 나온지 모르겠지만 그대로 옮겨놨다.

 

해당 에러가 발생한 프로젝트

 

[프로젝트 마우스 우클릭] - [Properties]

 

를 클릭해주자.

 

 

그 다음

 

[Project Facets] - [Java 선택] - [우측 Runtimes 탭 선택] - [Apache Tomcat 체크] - [Apply]

 

하게되면 신기하게도 빨간표시가 사라지며

 

해당 에러가 사라진다.