org.springframework.beans.factory.BeanCreationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The bean "kimIdentityDelegateService" is improperly defined in KIMLdapSpringBeans.xml <bean id="kimIdentityDelegateService" class="org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl" p:businessObjectService-ref="rice.kim.import.businessObjectService" p:criteriaLookupService-ref="rice.kim.import.criteriaLookupService"> <property name="principalDao" ref="ldapPrincipalDao" /> </bean> Two problems here. - the property businessObjectService was changed to dataObjectService in Rice 2.4. - the property criteriaLookupService is obsolete I think the bean definition should be changed to: <bean id="kimIdentityDelegateService" class="org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl" p:dataObjectService-ref="dataObjectService"> <property name="principalDao" ref="ldapPrincipalDao" /> </bean> The startup error when attempting to boot when using an ldap integration: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimConfigurer' defined in class path resource [org/kuali/rice/config/RiceServiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimIdentityDelegateService' defined in class path resource [org/kuali/rice/kim/config/KIMLdapSpringBeans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'businessObjectService' of bean class [org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl]: Bean property 'businessObjectService' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
    via by Daniel Seibert,
  • The bean "kimIdentityDelegateService" is improperly defined in KIMLdapSpringBeans.xml <bean id="kimIdentityDelegateService" class="org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl" p:businessObjectService-ref="rice.kim.import.businessObjectService" p:criteriaLookupService-ref="rice.kim.import.criteriaLookupService"> <property name="principalDao" ref="ldapPrincipalDao" /> </bean> Two problems here. - the property businessObjectService was changed to dataObjectService in Rice 2.4. - the property criteriaLookupService is obsolete I think the bean definition should be changed to: <bean id="kimIdentityDelegateService" class="org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl" p:dataObjectService-ref="dataObjectService"> <property name="principalDao" ref="ldapPrincipalDao" /> </bean> The startup error when attempting to boot when using an ldap integration: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimConfigurer' defined in class path resource [org/kuali/rice/config/RiceServiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimIdentityDelegateService' defined in class path resource [org/kuali/rice/kim/config/KIMLdapSpringBeans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'businessObjectService' of bean class [org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl]: Bean property 'businessObjectService' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
    via by Daniel Seibert,
  • GitHub comment 43#61047683
    via GitHub by shivarajan
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimConfigurer' defined in class path resource [org/kuali/rice/config/RiceServiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kimIdentityDelegateService' defined in class path resource [org/kuali/rice/kim/config/KIMLdapSpringBeans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'businessObjectService' of bean class [org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl]: Bean property 'businessObjectService' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)

    Users with the same issue

    Unknown visitor1 times, last one,
    tvrmsmith
    1 times, last one,
    Unknown visitor1 times, last one,
    linxiaolong
    3 times, last one,
    Unknown visitor1 times, last one,
    137 more bugmates