The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
Posted deodara
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path相关的知识,希望对你有一定的参考价值。
问题描述:eclipse中建立一个动态网站项目,添加测试页index.jsp时出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
解决方法:Adding the tomcat server in the server runtime will do the job :Project Properties-> Java Build Path-> Add Library -> Select "Server Runtime" from the list-> Next->Select "Apache Tomcat"-> Finish.
以上是关于The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的主要内容,如果未能解决你的问题,请参考以下文章
java web报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
新建 jsp异常,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build P
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
java错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu
[转]The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path