No beans get created when I use EnableAutoConfuguation for a self made plugin. If downgrade from spring boot 3.x to 2.7x it works as expected.
The annotation is not deprecated or deleted for spring-boot 3. So is it a bug or is there a new way and they just forgot depreciation?
I found the solution through https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#new-autoconfiguration-annotation Here is described how to setup spring factory the new way.
EnableAutoConfiguration is by mistake not deleted
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With