The superclass "jakarta.servlet.http.HttpServlet" was not found on the Java Build Path


一、问题描述

eclipse生成的webapp模块,其index.jsp页面报错。

二、解决方案

报错的文件上右键--》

build path--》

配置build path--》

库--》

add 库--》

服务器 runtime--》

配置一个Tomcat

解决。

相关