OK, interesting thought. All my classes are within the same base. @Configuration is in Config.class
If this structure no longer works with Spring Boot, what to do then? Should I put all my @Configuration in my Main class instead? /M ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 21st, 2021 at 11:20, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > It's a Spring Boot issue with that @Bean is not discovered and registered. > > Mind about spring boots annotation scanner only checks by default the > > package from the main class, and its sub packages. > > So it matter where you put this class.