# 运行时候报错误啦!查了好多方法还是不行
就这个报错啦,咋办啊?
检查下pom文件配置看看有没有javax.servlet-api依赖,或者换个版本重新拉下包试试
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>