본문 바로가기
Java

The superclass "javax.servlet.http.HttpServlet", determined from the Dynamic Web Module facet version (4.0), was not found on the Java Build Path

by Coarti 2023. 5. 30.

tomcat을 바꿀경우 종종 이런현상이 발생한다

 

방법

 

프로젝트 우클릭 - properties -

java build path - libraries - classpath - addlibrary - server runtime - apache tomcat v9.0 - finish

 

그 후에 소스파일에 가서

ctrl + a

ctrl + x

ctrl + v

ctrl + shift + s

728x90

'Java' 카테고리의 다른 글

[이클립스] Maven 설정  (0) 2023.07.28
[Data Structure] BST  (0) 2023.07.24
인터페이스로 느슨한 결합 만들기  (0) 2023.06.13
Tomcat9 에러 (Windows)  (0) 2023.05.30
용어 정리  (0) 2023.05.30