반응형
Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-18 06:40
관리 메뉴

ImJay

[java/eclipse] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 본문

자바

[java/eclipse] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

ImJay 2023. 9. 15. 13:00
반응형

오류 내용

프로젝트의 모든 jsp 에서 The superclass "javax.servlet.http.HttpServlet" was not found on the Java  Build Path 컴파일 에러 발생

 

해결하기 위해 수행했던 과정들

서치했을 때 대부분 두가지 방법으로 해결하셨었다.

 

첫번째 방법

1. 프로젝트 우클릭 > Properties

2. Java Build Path > Libraries > Add Library..

 

3. Server Runtime > Next

 

4. 본인에게 해당하는 Tomcat version 선택 > Finish

 

5. Apply and Close

 

나는 안됨

 

두번째 방법

 

1.  프로젝트 우클릭 > Properties

 

2. Project Facets > Java > Runtimes > 본인 버전의 Tomcat server 선택 > Apply and CLose

얘도 안됨

 

------------------------------------------------

위 두가지 방법 말고는 다른 방법을 찾을 방도가 없어, 재부팅 , 톰캣 재설치 등등 여러가지를 해보았고,

마지막으로 프로젝트를 백업 후 다시 받아서 해결할 수 있었다.

반응형

'자바' 카테고리의 다른 글

[Java Gradle] Python 코드를 Java 로 실행시키기  (0) 2023.04.04
Comments