redahmeid
asked on
Spring Dependency Injection "BeanCreationException"
Hi,
I am getting this error
com.bea.core.repackaged.sp ringframew ork.beans. factory.Be anCreation Exception: Error creating bean with name "xxx" Initialization of bean failed; nested exception is com.bea.core.repackaged.sp ringframew ork.beans. factory.Be anCreation Exception: Dependency injection failure: can't find the bean definition about class class com.db.nexclear.security.W ebServiceU serSecurit yProvider; nested exception is com.bea.core.repackaged.sp ringframew ork.beans. factory.No SuchBeanDe finitionEx ception: No unique bean of type
Any ideas what could be causing this?
I am getting this error
com.bea.core.repackaged.sp
Any ideas what could be causing this?
sounds like you have 2 beans of the same type, so it cannot determine which one to autowire into one of your beans. You need to explicitly specify which one.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.