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.
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.