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

Copy tomcat folder to C drive or any other drive.
and go to eclipse
Select —>Properties—>Project Facets—-> go to Runtimes Tab


Click on New button and select Tomcat location

Click on Apply and ok
Like this:
Like Loading...
Related