JSP页面顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil
Posted Jim
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JSP页面顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil相关的知识,希望对你有一定的参考价值。
原理:把RunTime容器添加进去,比如tomcat的。
1、项目右键->【Build Path】->【Configure Build Path...】
2、把tomcat的runtime添加进去
3、如果发现JRE的版本不正确,也可以进行更新,如下是我改成jre8.0的。
这里也可以直接配置,选择第二项。
以上是关于JSP页面顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil的主要内容,如果未能解决你的问题,请参考以下文章
JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
web项目jsp出现The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path错误
JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui
JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil