org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'lhsDBConnectionInfo' 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

Solutions on the web

via liferay.com by Unknown author, 2 years ago
No bean named 'com.liferay.portlet.messageboards.service.MBMessageLocalService' is defined
via rave-users by Leon Wu, 1 year ago
No matching bean of type [org.apache.rave.portal.repository.CategoryRepository] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
via aries-user by Emily Jiang, 4 months ago
via aries-user by Moacir Cardoso, 4 months ago
via aries-user by Moacir Cardoso, 4 months ago
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'lhsDBConnectionInfo' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1056)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
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:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)
at org.diffkit.util.DKSpringUtil.getBean(DKSpringUtil.java:46)
at org.diffkit.diff.conf.DKApplication.runPlan(DKApplication.java:164)
at org.diffkit.diff.conf.DKApplication.main(DKApplication.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.jdotsoft.jarloader.JarClassLoader.invokeMain(JarClassLoader.java:571)
at org.diffkit.diff.conf.DKLauncher.main(DKLauncher.java:29)

Users with the same issue

4 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 2 months ago
5 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
127 more bugmates

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