The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path [duplicate] September 17, 2022 by Tarik Add a runtime first and select project properties. Then check the server name from the ‘Runtimes’ tab as shown in the image.