Instagram Widget

How to solve The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path problem in Eclipse

In this post I'm going to show how to solve The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path problem in Eclipse.

Problem:
After you create a dynamic project in Eclipse. You go on and try to create JSP page and you see a problem like this:


Error Message :

superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path problem in Eclipse


Solution:

1. Go to Properties by right clicking on the project you are getting error.


2. Click on Project Facets


3. Check Apache Tomcat Option in Runtime tab.



 4. Click Apply and Close

Hola!!! Error is gone.


That's it you have solved the issue now.

Post a Comment

0 Comments