找了半天,pom配置文件中更改一下配置即可,
<dependency>把scopt注释掉即可;之前尝试将provided改为runtime也没用.
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
staceoverflow链接如下:
http://*.com/questions/30374316/spring-boot-java-lang-noclassdeffounderror-javax-servlet-filter