如果启动spring boot报错,怎么解决?

启动spring boot报错,怎么解决


aluckdog
浏览 1226回答 3
3回答

SMILET

把servlet-api的依赖删除,启动正常。springBoot启动jar包。1.xxmyorg.springframeworkspring-context3.2.8.RELEASEorg.springframeworkspring-context4.3.7.RELEASEorg.springframeworkspring-webmvc3.2.8.RELEASEXZCY</groupId这里引用jar是做什么,springboot不是自己装配了吗? webmvc只要依赖org.springframework.bootspring-boot-starter-web2.<dependency>&nbsp; &nbsp; &nbsp; &nbsp;<groupId>org.springframework.boot</groupId>&nbsp; &nbsp; &nbsp; &nbsp;<artifactId>spring-boot-starter-data-jpa</artifactId>&nbsp; &nbsp;</dependency>
打开App,查看更多内容
随时随地看视频慕课网APP