org.springframework.beans.factory.NoSuchBeanDefinitionException

No bean named 'Market1Datasource' is defined: <list of 578 bean names>

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 web2

  • via Unknown by Andreas Nyberg,
  • via Unknown by Andreas Nyberg,
  • Stack trace

    • org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'Market1Datasource' is defined: <list of 578 bean names> at org.springframework.ide.eclipse.beans.core.DefaultBeanDefinitionRegistry.getBeanDefinition(DefaultBeanDefinitionRegistry.java:119) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.ValidationRuleUtils.getBeanDefinitions(ValidationRuleUtils.java:98) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.getRegisteredBeanDefinition(BeansValidationContext.java:130) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.RequiredPropertyRule.getRequiredAnnotationTypes(RequiredPropertyRule.java:180) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.RequiredPropertyRule.validatePropertyNames(RequiredPropertyRule.java:89) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.RequiredPropertyRule.validate(RequiredPropertyRule.java:75) at com.springsource.sts.quickfix.validator.ClassAttributeValidator.validateAttributeWithConfig(ClassAttributeValidator.java:87) at com.springsource.sts.quickfix.validator.BeanValidator.validateAttributeWithConfig(BeanValidator.java:151) at com.springsource.sts.quickfix.QuickfixUtils.validateAttribute(QuickfixUtils.java:520) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitAttributes(BeanValidatorVisitor.java:56) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitNode(BeanValidatorVisitor.java:78) at com.springsource.sts.quickfix.BeansEditorValidator.validateNode(BeansEditorValidator.java:478) at com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:458) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:381) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:259) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:250) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:697)

    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

    We couldn't find other users who have seen this exception.