Announcement Announcement Module
No announcement yet.
Bean creation problem Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bean creation problem

    I have a bean that's defined in the applicationContext that uses the getInstance method of the class (the class was developed elsewhere).

    In another context file (for acegi) I have a bean that references the bean from the application context. Initialization fails because the definition in the acegi file can't find the bean. I use it in the applicationContext just fine. I'm guessing that it's not getting created in time to use it, but I don't know how to force it.

  • #2
    Is it possible to see the exception. I'm not sure what you mean when you say it can't find it. If you are using container heirarchies that could be your issue.
    Last edited by karldmoore; Aug 27th, 2007, 03:00 PM.


    • #3
      problem resolved

      one of the config files was being picked up by the default naming convention. When I explicitly listed it, the problem disappeared.