Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Java by (10.2k points)

I have a project created by Maven integration in Eclipse. All work fine, but in the workspace in all JSP files have this:

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

To the first string where place:

<%@ page language="java" contentType="text/html; charset=UTF-8"


When I create a basic dynamic web project and JSP in - all is fine, no errors.

1 Answer

0 votes
by (46k points)

To solve this error you need to add a runtime at the beginning and select project properties. Then verify the server name from the 'Runtimes' tab as displayed in the image.Select runtime from Project Facets as shown the in image

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.2k users

Browse Categories