org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'lumSearchDispatcher' defined in class path resource [statement-additional-context.xml]: Cannot resolve reference to bean 'StatementServiceImpl' while setting bean property 'services' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StatementServiceImpl' defined in class path resource [statement-additional-context.xml]: Cannot create inner bean 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' of type [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl] while setting bean property 'dictionaryServiceDelegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' defined in class path resource [statement-additional-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19462

  • via Kuali JIRA by Nina Gelderbloem, 11 months ago
    'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined
  • via Kuali JIRA by Nina Gelderbloem, 1 year ago
    'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined
  • via Kuali JIRA by Tim Tuxworth, 1 year ago
    creating bean with name 'luServiceImpl' defined in class path resource [ksb/ks-lu-context.xml]: Cannot resolve reference to bean 'luDictionary' while setting bean property 'dictionaryServiceDelegate'; nested exception is
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lumSearchDispatcher' defined in class path resource [statement-additional-context.xml]: Cannot resolve reference to bean 'StatementServiceImpl' while setting bean property 'services' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StatementServiceImpl' defined in class path resource [statement-additional-context.xml]: Cannot create inner bean 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' of type [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl] while setting bean property 'dictionaryServiceDelegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' defined in class path resource [statement-additional-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:539) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.kuali.student.common.test.spring.ServiceTestClassRunner.startServer(ServiceTestClassRunner.java:235) at org.kuali.student.common.test.spring.ServiceTestClassRunner.run(ServiceTestClassRunner.java:249) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StatementServiceImpl' defined in class path resource [statement-additional-context.xml]: Cannot create inner bean 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' of type [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl] while setting bean property 'dictionaryServiceDelegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' defined in class path resource [statement-additional-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 38 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl#5a57e787' defined in class path resource [statement-additional-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 48 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) ... 53 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.kuali.student.r2.common.dto.RichTextInfo-parent' defined in class path resource [ks-statement-dictionary-context.xml]: Could not resolve parent bean definition 'ObjectStructureDefinition'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1164) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1109) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1095) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:564) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl.init(DictionaryServiceImpl.java:41) at org.kuali.student.r1.common.dictionary.service.impl.DictionaryServiceImpl.<init>(DictionaryServiceImpl.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 55 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ObjectStructureDefinition' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1095) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:876) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1150) ... 69 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    5 times, 1 day ago
    3 times, 1 week ago
    2 times, 2 weeks ago
    Once, 1 month ago
    2 times, 1 month ago
    95 more bugmates