產生背景
產生原因
缺少依賴項
解決方案
(1)在pom.xml中添加依賴項
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
(2)更新maven包
缺少依賴項
(1)在pom.xml中添加依賴項
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
(2)更新maven包
Spring boot 配置數據源 spring: mvc: favicon: enabled: false datasource: primary: username: root