Announcement Announcement Module
Collapse
No announcement yet.
Error creating bean with name 'Controller': Injection of resource fields failed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error creating bean with name 'Controller': Injection of resource fields failed

    Hi friends

    Can any body please help me to fix the below error
    Code:
    [ERROR:main] [2011-09-13 12:46:31,416] (DispatcherServlet:290) - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noBillController': Injection of resource fields failed; 
    nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'thresholdReloadService': Injection of resource fields failed; 
    nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'thresholdReload': Injection of resource fields failed; 
    nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentDao': Injection of persistence fields failed;
     nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManagerFactory] is defined:
     expected single bean but found 0
Working...
X