IDEA启动Springboot时,解决报错java.lang.NoClassDefFoundError: javax/servlet/Filter

如下所示,将spring-boot-starter-tomcat依赖中的<scope>provided</scope>注释掉
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
上一篇:SparkStreaming整合SparkSql


下一篇:Python面向对象三大特性之多态与鸭子类型