Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

场景

新建jsp页面,提示如下

解决

右击项目--Build Path--Config Build Path

Add Library--Server Runtime

next--选择Tomcat--Finish

Apply--Appy and Close

猜你喜欢

转载自blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/84728945