maven中解决Type javax.servlet.jsp cannot be resolved to a type
时间:2016-10-31 06:51:44
收藏:0
阅读:405
解决方案:
在Maven的pom文件中引发如下依赖jar:
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2.1-b03</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>3.0-alpha-1</version>
</dependency>
原文:http://www.cnblogs.com/finalstar/p/6014496.html
评论(0)