fix:application-local.yaml 配置文件的,spring.autoconfigure.exclude 增加 noinspection SpringBootApplicationYaml,避免出现很难看的报错提醒!!!

This commit is contained in:
YunaiV 2025-05-04 11:13:09 +08:00
parent fe0840cde8
commit 5af9496d66
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ server:
--- #################### 数据库相关配置 ####################
spring:
autoconfigure:
# noinspection SpringBootApplicationYaml
exclude:
- org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置
- de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置