Spring Dependency Injection "BeanCreationException"

Hi,

I am getting this error

com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Error creating bean with name "xxx" Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class class com.db.nexclear.security.WebServiceUserSecurityProvider; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type

Any ideas what could be causing this?
redahmeidAsked:
Who is Participating?
 
josephtsangConnect With a Mentor Commented:
can't find the bean definition about class class com.db.nexclear.security.WebServiceUserSecurityProvider;

Did you check if the library is visible by the spring classloader you've set up?
0
 
objectsCommented:
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.
0
All Courses

From novice to tech pro — start learning today.