org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘personService’ is defined

mkyong.com | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spring + Hibernate Integration Example

    howtodoinjava.com | 1 year ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘personService’ is defined
  2. 0

    NoSuchBeanDefinitionException : No qualifying bean of type JobLauncherTestUtils

    mkyong.com | 3 months ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘personService’ is defined
  3. 0

    NoSuchBeanDefinitionException : No qualifying bean of type JobLauncherTestUtils

    mkyong.com | 4 months ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘personService’ is defined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring + Hibernate Integration Example

    howtodoinjava.com | 2 days ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘personService’ is defined
  6. 0

    Spring 3.0 annotation bean Component Scan

    Stack Overflow | 4 years ago | CycDemo
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'CommonService' is defined

  1. batwalrus76 1 times, last 2 months ago
  2. Andreas Häber 4 times, last 4 months ago
  3. Luka 2 times, last 5 months ago
  4. mortalman7 11 times, last 7 months ago
  5. serious2monkeys 5 times, last 5 months ago
5 more registered users
52 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.NoSuchBeanDefinitionException

    No bean named ‘personService’ is defined

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition()
  2. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:529)
    2. org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1095)
    3. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:277)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    4 frames
  3. Spring Context
    AbstractApplicationContext.getBean
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)
    1 frame
  4. service
    TestSpringHibernateDaoSupport.main
    1. service.TestSpringHibernateDaoSupport.main(TestSpringHibernateDaoSupport.java:14)
    1 frame