How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How to prevent SpringBoot autoconfigurations from being loaded via component scanning?

calendar_today June 8, 2026 person fml2 domain spring-boot

This question is a sequel of the SpringBoot issue 50649 (since issues are not a good place to have discussions, I send the question here). The springboot documentation states : Auto-configurations must be loaded only by being named in the imports file. Make sure that they are defined in a specific package space and that they are never the target of component scanning.

open_in_new Read original post