springboot装配问题
来源:2-5 Spring Framework @Enable - 自定义 @Enable 基于接口驱动实现

d_chocolate
2020-07-09
有个问题想请教一下,springboot项目,我引入了一个starter,里面有个configuration,会自动装配,我怎么能通过我yaml文件里的某个配置项,决定是否装配他这个configuration
写回答
1回答
-
小马哥
2020-08-11
可以通过配置项:spring.autoconfigure.exclude 来控制
00
相似问题