java web的maven中解决pageContext.getAttributesScope无法使用问题
在百度中搜索关键字maven jsp-api,在pom.xml引入<!-- https://mvnrepository.com/artifact/javax.servlet/jsp-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>