新建jsp文件,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误解决方法

新建一个jsp文件后,有一个错误,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

新建jsp文件,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误解决方法

解决方法:
1. 右键项目->build path->configure build path... 2. 选择 Java build path 3. Add Library->Server Runtime->Click Next 4. 选择 Server runtime->选择Tomcat->Finish
上一篇:基于三层架构下的公共数据访问方法(Sqlite数据库)


下一篇:如何解决"The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path"