0 votes
in Spring Boot by
How to register a custom auto-configuration?

1 Answer

0 votes
by (2.8k points)
To register auto-configuration class with spring boot, we must have its fully-qualified name listed under the EnableAutoConfiguration key in the META-INF/spring.factories file:


If we make a project with Maven, that file should be placed in the resources/META-INF directory, which will end up in the mentioned location during the package phase.

Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.