版权声明:本文为博主原创文章,转载请注明出处 https://blog.csdn.net/lidalin_se/article/details/87099662
新建Maven项目后报错,The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
解决方法:
项目上右击鼠标,选择 Build Path => Configure Build Path,弹出下面的菜单。
点击Server Runtime
点击Finish。完成