I have been working on the demo project, every thing was running smooth until today, when I started seeing this error from no where ....
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blLoginService' is defined
[artifact:mvn] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
[artifact:mvn] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461)
[artifact:mvn] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435)
[artifact:mvn] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559)
[artifact:mvn] at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
[artifact:mvn] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
[artifact:mvn] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
[artifact:mvn] ... 23 more
[artifact:mvn] May 03, 2016 9:58:35 AM org.apache.catalina.core.StandardContext listenerStart
[artifact:mvn] SEVERE: Exception sending context initialized event to listener instance of class org.broadleafcommerce.common.web.extensibility.MergeContextLoader
[artifact:mvn] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blLoginService' is defined
[artifact:mvn] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
[artifact:mvn]
I have verified the entry in application context.
<!-- Scan Broadleaf defined web utility classes -->
<!-- context:component-scan base-package="org.broadleafcommerce.cms.web"/ -->
<context:component-scan base-package="org.broadleafcommerce.profile.web.core.service.login" />
<context:component-scan base-package="org.broadleafcommerce.common.web" />
<context:component-scan base-package="org.broadleafcommerce.profile.web.controller" />
<!-- Scan DemoSite Sample Payment Gateway Implementation -->
<context:component-scan base-package="com.jwel.sample" />
<context:component-scan base-package="com.jwel.custom.controller" />
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.