Results 1 to 2 of 2

Thread: UnsatisfiedDependencyException in Spring 3.1

  1. #1
    Join Date
    Oct 2009
    Location
    London
    Posts
    28

    Default 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. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    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?
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

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