解决java项目中的The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path问题

一、问题描述

       导入项目的时候发现jsp页面出现he superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path。

二、解决办法

       1.右键项目,选择BuildPath --> configure Build path

  2. 选择library选项卡,再点击Add libaray:

3.选择Server Runtime

4. 选中服务器,然后finish,然后耐心的等待报错别解决!

发布了53 篇原创文章 · 获赞 45 · 访问量 8841

猜你喜欢

转载自blog.csdn.net/qq_33036061/article/details/104349840