遇到的问题
在Eclipse的Web项目中的readme.jsp文件显示错误:The superclass “jakarta.servlet.http.HttpServlet” was not found on the Java Build Path
解决方案
1.找到这个web项目,点击右键,选择Bulid Path-->Configure Build Path;
2.在Libraries添加库文件-->Add Library;
3.选择Server Runtime-->Next;
4.选择启动项目的对应版本的Tomcat服务器-->Finnish;
5.最后重启即可。