org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined

Kuali JIRA | Bryan Hutchinson | 2 years ago
  1. 0

    The kc-cgb environment has been rebuilt from KC 6.0, including CGB changes, and we have upgraded the shared TST Rice instance to 2.5.2, but kc-cgb still won't start and we need to figure out why. Here's a excerpt from the log with a possible culprit: {noformat} 2015-01-07 15:50:01,162 [localhost-startStop-1] D: U: []:: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419) {noformat}

    Kuali JIRA | 2 years ago | Bryan Hutchinson
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined
  2. 0

    The kc-cgb environment has been rebuilt from KC 6.0, including CGB changes, and we have upgraded the shared TST Rice instance to 2.5.2, but kc-cgb still won't start and we need to figure out why. Here's a excerpt from the log with a possible culprit: {noformat} 2015-01-07 15:50:01,162 [localhost-startStop-1] D: U: []:: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419) {noformat}

    Kuali JIRA | 2 years ago | Bryan Hutchinson
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined
  3. 0

    û¸ÄÅäÖÃÎļþ£¬±¨´íÁË Error creating bean with name 'shiroFilter' defined in file_°Ù¶ÈÖªµÀ

    baidu.com | 1 week ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in file [E:\myworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\TsWmsEdiWeb\WEB-INF\classes\META-INF\spring\root-applicationContext.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [E:\myworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\TsWmsEdiWeb\WEB-INF\classes\META-INF\spring\root-applicationContext.xml]: Cannot resolve reference to bean 'userRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userRealm' is defined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue setting up a DataSource

    GitHub | 3 years ago | jinxiyin
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\FuLiBao\thymeleaf-workspace\epsf-gataway\target\classes\META-INF\spring\mybatis\gw-weixin-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.jdbc.TomcatDataSourceConfiguration': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.autoconfigure.jdbc.TomcatDataSourceConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V
  6. 0

    Weblogic 10.3.6 and Spring WebServices ClassCast Exception

    Stack Overflow | 2 years ago | st.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#45': FactoryBean threw exception on object creation; nested exception is com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension: Provider weblogic.wsee.jaxws.framework.policy.WSDLGeneratorExtension is specified in jar:file:/weblogic/fmw1036/Middleware/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtensionbut could not be instantiated: java.lang.ClassCastException: Cannot cast weblogic.wsee.jaxws.framework.policy.WSDLGeneratorExtension to com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension

  1. mauritius 1 times, last 9 months ago
  2. gandra 1 times, last 12 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.BeanCreationException

    Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
  2. Spring Beans
    AbstractAutowireCapableBeanFactory.applyPropertyValues
    1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
    2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
    3 frames