tarmogoyf
tarmogoyf

Reputation: 337

Spring doesnt see one specific module

In multi module maven project Spring scans everything but one module:

enter image description here

So, @Component/ @Controller annotations in ui module are being ignored by Spring

enter image description here

Any other bean is under the reach of the context:

enter image description here

Spring Config: enter image description here

I do believe there is no typo or something. Clean-install, invalidate caches do not work.

Upvotes: 0

Views: 164

Answers (1)

tarmogoyf
tarmogoyf

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

Related Questions