org.springframework.beans.factory.NoSuchBeanDefinitionException

No bean named 'lhsDBConnectionInfo' is defined

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web656

  • via GitHub by slowlizard
    ,
  • Stack trace

    • org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'lhsDBConnectionInfo' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)[diffkit-app.jar:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[diffkit-app.jar:na] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[diffkit-app.jar:na] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)[diffkit-app.jar:na] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[diffkit-app.jar:na] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[diffkit-app.jar:na] at org.diffkit.util.DKSpringUtil.getBean(DKSpringUtil.java:46)[diffkit-app.jar:na] at org.diffkit.diff.conf.DKApplication.runPlan(DKApplication.java:164)[diffkit-app.jar:na] at org.diffkit.diff.conf.DKApplication.main(DKApplication.java:115)[diffkit-app.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_80] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_80] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_80] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_80] at com.jdotsoft.jarloader.JarClassLoader.invokeMain(JarClassLoader.java:571)[diffkit-app.jar:na] at org.diffkit.diff.conf.DKLauncher.main(DKLauncher.java:29)[diffkit-app.jar:na] Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'lhsDBConnectionInfo' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:510)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1056)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)[diffkit-app.jar:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[diffkit-app.jar:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)[diffkit-app.jar:na] ... 21 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

    Михайло ТітовМихайло Тітов
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    tomthomastomthomas
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    117 more bugmates