Eclipse创建maven项目报错The superclass “javax.servlet.http.HttpServlet” was not found on the Java

一、问题详情

The superclass “javax.servlet.http.HttpServlet” was not found on the Java
maven项目报错

二、解决办法

点击项目Alt+Enter
maven项目报错
maven项目报错
添加想要的tomcat即可
maven项目报错

相关文章: