
Originally Posted by
blandger
.......I think it's not an issue, I checked twice and triple. I spent a lot of time yesterday on that. All DAO/service scanned in config classes basically inside 'common-module' and they don't have path for 'controllers' package.
Controllers are scanned at one place only:.........
Marten, I'm taking my words back and bring my apologize... Indeed, there was one more 'component scan'. It was inside:
Code:
webflow-config.xml
<context:component-scan base-package="com.web"/>
Error gone when I've change it to:
Code:
<context:component-scan base-package="com.web">
<context:include-filter type="regex" expression="com.web.*initialize.*"/>
<context:exclude-filter type="assignable"
expression="com.web.controller.facebook.CanvasProviderSignInController"/>
</context:component-scan>
That stopped failing with stupid error and @Controller in back to controller class declaration.