Announcement Announcement Module
Collapse
No announcement yet.
UnsatisfiedDependencyException in Spring 3.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • UnsatisfiedDependencyException in Spring 3.1

    Hello,

    I am trying to upgrade from spring 3.0.5 to spring 3.1. When i upgrade to spring 3.1 and test my application i get this error while instantiating one of my beans:

    org.springframework.beans.factory.UnsatisfiedDepen dencyException: Error creating bean with name 'com.moi.service.DistributionServiceTest': Unsatisfied dependency expressed through bean property 'dwfSetup': Set this property value or disable dependency checking for this bean..

    But then i do not get this error using spring 3.0.5 and it only pops up when i migrate to spring 3.1. Is there anything that might have changed in spring 3.1 to warrant this exception?

    Any help would be much appreciated.

    Thanks.

  • #2
    Hello

    Post the com.moi.service.DistributionServiceTest class declaration and its dependencies in such class.


    Unsatisfied dependency expressed through bean property 'dwfSetup': Set this property value or disable dependency checking for this bean..
    How did you declare such variable? and how is injected?

    Comment

    Working...
    X