Share:- Whatsapp Facebook Facebook

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

How to register a custom auto-configuration?

0 votes
How to register a custom auto-configuration?
asked Feb 10 in Spring Boot by kavya Anand

1 Answer

0 votes
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.
answered 4 days ago by Developerhelpway (1,520 points)