Reputation: 337
In multi module maven project Spring scans everything but one module:
So, @Component/ @Controller annotations in ui module are being ignored by Spring
Any other bean is under the reach of the context:
I do believe there is no typo or something. Clean-install, invalidate caches do not work.
Upvotes: 0
Views: 164
Reputation: 337
Though I didn't find clean info about my mistake, manually moving Main class to the module higher in dependency hierarchy fixed the problem (UI dependes on the Domain which depends on Property and DI modules).
Upvotes: 0