Results 1 to 9 of 9

Thread: Component Scan Base Package to multiple paths

Threaded View

  1. #1

    Lightbulb Component Scan Base Package to multiple paths

    Hello, here I have problem that is getting me :

    If I define the component-scan context defined like this
    PHP Code:
        <context:component-scan  base-package="com.transporte.mbean, com.transporte.persistencia.dao"/> 
    won't work any of both(com.transporte.mbean or com.transporte.persistencia.dao) they are not injected but if I do this

    PHP Code:
        <context:component-scan  base-package="com.transporte.mbean"/> 
    the injected definition hasm an instance, but I need to resolve the daos annotations classes too, snif

    For eg: im using a backBeanUser injected to be used un a jsf page, and a serviceUserLogin is injected in this backBeanUser, i can't make them both work together(only the first one works)

    Does someone know how can I solve this? I don't know hoew to proceed???
    Last edited by guillermodl; Jan 28th, 2008 at 09:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •