org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rice' defined in class path resource [org/kuali/rice/config/RiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'courseListContext' defined in class path resource [ks-nl-context.xml]: Cannot resolve reference to bean 'luServiceImpl' while setting bean property 'luService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error 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 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luDictionary' defined in URL [file:/home/tomcat/kuali/main/3/ubc-lu-bean-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.core.dictionary.service.impl.DictionaryServiceSpringImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.core.dictionary.dto.ConstraintDescriptor#0': Cannot resolve reference to bean 'optional' while setting bean property 'constraint' with key [0]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'optional' is defined

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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
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
via Kuali JIRA by Jose Gutierrez, 1 year ago
name 'courseListContext' defined in class path resource [ks-nl-context.xml]: Cannot resolve reference to bean 'luServiceImpl' while setting bean property 'luService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error
via Kuali JIRA by Jose Gutierrez, 1 year ago
name 'courseListContext' defined in class path resource [ks-nl-context.xml]: Cannot resolve reference to bean 'luServiceImpl' while setting bean property 'luService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error
via Kuali JIRA by Jeff Caddel, 1 year ago
Error creating bean with name 'rice' defined in class path resource [org/kuali/rice/config/RiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with
via Kuali JIRA by Jeff Caddel, 1 year ago
Error creating bean with name 'rice' defined in class path resource [org/kuali/rice/config/RiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rice' defined in class path resource [org/kuali/rice/config/RiceSpringBeans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'courseListContext' defined in class path resource [ks-nl-context.xml]: Cannot resolve reference to bean 'luServiceImpl' while setting bean property 'luService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error 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 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luDictionary' defined in URL [file:/home/tomcat/kuali/main/3/ubc-lu-bean-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.kuali.student.core.dictionary.service.impl.DictionaryServiceSpringImpl]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.kuali.student.core.dictionary.dto.ConstraintDescriptor#0': Cannot resolve reference to bean 'optional' while setting bean property 'constraint' with key [0]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'optional' is defined
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)
at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at org.kuali.rice.core.web.listener.StandaloneInitializeListener.contextInitialized(StandaloneInitializeListener.java:126)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.