Monday, August 25, 2014

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

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

The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
This issue occurs if server run time not set in the project. To set server run time:
  • Right click project
  • Click properties
  • Java Build Path
  • Add Library –> Click Next
javax.servlet.http.HttpServlet was not found on the Java Build Path
Choose Server run time (For demo its Apache Tomcat 7.0) –> Click Finish — OK
javax.servlet.http.HttpServlet was not found on the Java Build Path

ref: http://javahonk.com/javax-servlet-http-httpservlet-was-not-found-on-the-java-build-path/

 

No comments:

Post a Comment