이클립스 jsp파일 생성 후 서버연결 오류 해결법

 

 

 

오류내용

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

 

해결방법

 프로젝트 우클릭 후 → Build Path → Configure Build Path...  클릭 → Libraries → Modulepath → Add  Library...  → server runtime  Next → Apache Tomcat 클릭 Finish → Apply and Close

 

 

 

 

 프로젝트 우클릭 후 → Build Path  → Configure  Build Path...  클릭 

 

 

 Libraries  → Modulepath  → Add   Library...    

 

 

server runtime  Next  →  Apache Tomcat 클릭 Finish  

 

 

Apply and Close

 

+ Recent posts