Commit 5af9496d6646b11a1d4d69eba22eef407aafd9da
1 parent
fe0840cd
fix:application-local.yaml 配置文件的,spring.autoconfigure.exclude 增加 noinspection Sp…
…ringBootApplicationYaml,避免出现很难看的报错提醒!!!
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-server/src/main/resources/application-local.yaml
| ... | ... | @@ -4,6 +4,7 @@ server: |
| 4 | 4 | --- #################### 数据库相关配置 #################### |
| 5 | 5 | spring: |
| 6 | 6 | autoconfigure: |
| 7 | + # noinspection SpringBootApplicationYaml | |
| 7 | 8 | exclude: |
| 8 | 9 | - org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置 |
| 9 | 10 | - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置 | ... | ... |