You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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