The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path [duplicate]

Add a runtime first and select project properties. Then check the server name from the ‘Runtimes’ tab as shown in the image.

Select runtime from Project Facets as shown the in image

Leave a Comment