啟動spring boot報錯,怎么解決
如果啟動spring boot報錯,怎么解決?
aluckdog
2019-10-29 10:06:50
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>
舉報