Closed
Description
Hello,
I have accidentally named my worker @Component
class same as my main application class with @SpringBootApplication
and @ComponentScan
annotations. I have correct structure by documentation because my main class is in root package and other classes are in sub-packages.
Seems like my @Component
class is not being picked up by component scanning. It is in different package so I think this should work.
Spring version = 2.3.4.RELEASE.
Build tool = Gradle 6.6.1
Thanks.