The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

Error en Eclipse:

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
Solución:

Agregue un tiempo de ejecución primero y seleccione las propiedades del proyecto. Luego, verifique el nombre del servidor desde la pestaña 'Runtimes' como se muestra en la imagen.

Select runtime from Project Facets as shown the in image

Fuente: https://stackoverflow.com/questions/22756153/the-superclass-javax-servl…

Comentarios