posted 13 years ago
Was wondering if someone can help me with an 'Injection of autowired dependencies failed':
INFO: Initializing Spring FrameworkServlet 'spring'
In ViewDVDController()
Oct 26, 2011 11:50:07 AM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'viewDVDController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationEapp structure.jpgxception: Could not autowire field: private springmvc.application.inventory.impl.InventoryMana gerImpl springmvc.presentation.ViewDVDController.manager; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No matching bean of type [springmvc.application.inventory.impl.InventoryMana gerImpl] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Aut owired(required=true)}
InventoryManagerImpl class:
ViewDVDController:
web.xml:
spring.properties:
spring-servlet:
jdbc-context.xml:
applicationContext.xml:
app-structure.GIF