The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
发布日期:2021-06-30 11:04:03 浏览次数:2 分类:技术文章

本文共 272 字,大约阅读时间需要 1 分钟。

新建了一个maven的web项目,默认的index.jsp页面,出现了:

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

解决方法:

在pom.xml文件中引入依赖:

<dependency>

         <groupId>javax.servlet</groupId>
         <artifactId>javax.servlet-api</artifactId>
         <version>3.1.0</version>
</dependency>
 

转载地址:https://it4all.blog.csdn.net/article/details/77840987 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:json字符串转为map结构,复杂json字符串转为map结构
下一篇:SQL---NOW()函数,如何在mysql数据库中插入当前日期,当前时间

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2024年04月10日 13时39分30秒