原文链接:https://www.cnblogs.com/finalstar/p/6014496.html
解决方案:
在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>