Maven创建项目,Index.jsp报错

解决:

1.直接在pom.xml中添加依赖

1 <dependency>
2     <groupId>javax.servlet</groupId>
3     <artifactId>javax.servlet-api</artifactId>
4     <version>3.1.0</version>
5 </dependency>

猜你喜欢

转载自www.cnblogs.com/assistants/p/9505674.html