title: Bean creation  is failing (spring)
body: <p>I am trying to create a bean and than trying to inject the same in my Controller but i am getting bean creation failure error.Here is my code</p>
  
  <pre><code>@Service("springSecurityLoginServiceImpl")
  public class SpringSecurityLoginServiceImpl implements SpringSecurityLoginService
  {
    //impl
  }
  </code></pre>
  
  <p>this is how i am trying to inject it in my controller</p>
  
  <pre><code>@Controller
  @RequestMapping("springSecurity/login.json")
  public class SpringSecurityLoginController
  {
      @Autowired
      @Qualifier("springSecurityLoginServiceImpl")
      SpringSecurityLoginService springSecurityLoginService;
  
  }
  </code></pre>
  
  <p>There is no entry in Spring-MVC-config xml file except these annotation, but when i am starting server facing the following exception</p>
  
  <pre><code>org.springframework.beans.factory.BeanCreationException: 
  Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0'
   defined in ServletContext resource [/WEB-INF/config/spring-mvc-config.xml]: 
   Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: 
   Error creating bean with name 'springSecurityLoginController': 
   Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: 
   Could not autowire field: com.core.servicelayer.user.SpringSecurityLoginService com.storefront.controllers.pages.SpringSecurityLoginController.springSecurityLoginService; 
   nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: 
   No matching bean of type [com.core.servicelayer.user.SpringSecurityLoginService] found for dependency: 
   expected at least 1 bean which qualifies as autowire candidate for this dependency.
   Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true),
   @org.springframework.beans.factory.annotation.Qualifier(value=springSecurityLoginServiceImpl)}
  </code></pre>
  
  <p>i am not sure what i am doing wrong or what extra i have to do</p>