启动spring boot报错,怎么解决
3 回答

SMILET
TA贡献1796条经验 获得超4个赞
把servlet-api的依赖删除,启动正常。
springBoot启动jar包。
1.xxmy
org.springframework
spring-context
3.2.8.RELEASE
org.springframework
spring-context
4.3.7.RELEASE
org.springframework
spring-webmvc
3.2.8.RELEASE
XZCY</groupId
这里引用jar是做什么,springboot不是自己装配了吗? webmvc只要依赖
org.springframework.boot
spring-boot-starter-web
2.<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
添加回答
举报
0/150
提交
取消