How to solve httpServlet was not found on the Java Build Path

How to solve The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path

1

Copy tomcat folder to C drive or any other drive.

and go to eclipse
Select —>Properties—>Project Facets—-> go to Runtimes Tab

2

3

Click on New button and select Tomcat location

4

 

Click on Apply and ok

Leave a Reply

Your email address will not be published. Required fields are marked *