The superclass “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错误
目录
- 无
简介
前提简要:
使用eclipse创建web项目,项目创建后出现报错信息”The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path”,该信息由于你Tomcat 服务器的路径配置出现问题,需要重新引入Tomcat服务器路径.
错误截图:
解决办法:
操作步骤截图:
步骤一:选中项目,右键选择build path ==>configure build path..
步骤二:添加库
步骤三:选择server runtime,点击下一步.
步骤四:选择Tomcat服务器,点击finish
步骤五:点击apply在点击OK,完成.
后记
继续加油!!!!