The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path
步骤一:项目右键 找到并且点击build path 选中 configure build path...

步骤二:Libraies 中 选中 Add library ,从Add Libraries 中选择 Server Runtime

步骤三:选中对应的 tomcat 版本 finish 即可

博客园地址:https://www.cnblogs.com/lixiuming521125/

浙公网安备 33010602011771号