1. Explore
  2. »
  3. Spring Beans
  4. »
  5. org.springframework.beans.factory.support
  6. »
  7. DefaultListableBeanFactory

org.springframework.beans.factory.supportDefaultListableBeanFactory errorsSpring Beans

Top patterns

  1. Missing or incorrect Stereotype annotation
    No solution
  2. DefaultListableBeanFactory.getBean() has thrown a NoSuchBeanDefinitionException
    No solution
  3. Required bean defined multiple times

    You have defined a required(unique) bean multiple times in configuration xml files. If you do need multiple beans(with different ids of course) use @Qualifier annotation while autowiring them.

Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Missing or incorrect Stereotype annotation

org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean
124Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.getBean124

DefaultListableBeanFactory.getBean() has thrown a NoSuchBeanDefinitionException

org.springframework.beans.factory.NoSuchBeanDefinitionException
1 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean
69Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.getBean69

Required bean defined multiple times

org.springframework.beans.factory.NoUniqueBeanDefinitionException
1 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
43Web pages
1Solution
NoUniqueBeanDefinitionExceptionDefaultListableBeanFactory.resolveDependency43

DefaultListableBeanFactory.preInstantiateSingletons() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
8 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
37Web pages
BeanCreationExceptionDefaultListableBeanFactory.preInstantiateSingletons37

Unable to resolve dependency due to missing or duplicate bean definition

org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
36Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.resolveDependency36

DefaultListableBeanFactory.resolveDependency() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
7 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
29Web pages
IllegalArgumentExceptionDefaultListableBeanFactory.resolveDependency29

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.NoSuchBeanDefinitionException
17 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
28Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency28

DefaultListableBeanFactory.preInstantiateSingletons() has thrown a MethodInvocationException

org.springframework.beans.MethodInvocationException
8 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
28Web pages
MethodInvocationExceptionDefaultListableBeanFactory.preInstantiateSingletons28

Found multiple bean definitions where unique bean is expected

org.springframework.beans.factory.NoUniqueBeanDefinitionException
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean
28Web pages
NoUniqueBeanDefinitionExceptionDefaultListableBeanFactory.getBean28

DefaultListableBeanFactory.getBeanNamesForType() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
16 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
25Web pages
NoClassDefFoundErrorDefaultListableBeanFactory.getBeanNamesForType25

DefaultListableBeanFactory.getBean() has thrown a NoUniqueBeanDefinitionException

org.springframework.beans.factory.NoUniqueBeanDefinitionException
1 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean
21Web pages
NoUniqueBeanDefinitionExceptionDefaultListableBeanFactory.getBean21

DefaultListableBeanFactory.resolveDependency() has thrown a NoUniqueBeanDefinitionException

org.springframework.beans.factory.NoUniqueBeanDefinitionException
2 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
16Web pages
NoUniqueBeanDefinitionExceptionDefaultListableBeanFactory.resolveDependency16

DefaultListableBeanFactory.resolveDependency() has thrown a NoSuchBeanDefinitionException

org.springframework.beans.factory.NoSuchBeanDefinitionException
1 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
14Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.resolveDependency14

DefaultListableBeanFactory.<clinit>() has thrown a NullPointerException

java.lang.NullPointerException
org.springframework.beans.factory.support.DefaultListableBeanFactory.<clinit>
14Web pages
NullPointerExceptionDefaultListableBeanFactory.<clinit>14

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.NoSuchBeanDefinitionException
17 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
12Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency12

DefaultListableBeanFactory.getBeanNamesForType() has thrown a BeanCurrentlyInCreationException

org.springframework.beans.factory.BeanCurrentlyInCreationException
7 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
12Web pages
BeanCurrentlyInCreationExceptionDefaultListableBeanFactory.getBeanNamesForType12

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCurrentlyInCreationException

org.springframework.beans.factory.BeanCurrentlyInCreationException
6 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
12Web pages
BeanCurrentlyInCreationExceptionDefaultListableBeanFactory.resolveDependency12

DefaultListableBeanFactory.resolveDependency() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
5 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
11Web pages
IllegalArgumentExceptionDefaultListableBeanFactory.resolveDependency11

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCurrentlyInCreationException

org.springframework.beans.factory.BeanCurrentlyInCreationException
11 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
11Web pages
BeanCurrentlyInCreationExceptionDefaultListableBeanFactory.resolveDependency11

DefaultListableBeanFactory.getBeanDefinition() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition
10Web pages
BeanCreationExceptionDefaultListableBeanFactory.getBeanDefinition10

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
9 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
9Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency9

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.NoSuchBeanDefinitionException
32 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
9Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency9

DefaultListableBeanFactory.getBeanNamesForType() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
7 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
9Web pages
BeanCreationExceptionDefaultListableBeanFactory.getBeanNamesForType9

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
9 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
9Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType9

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.data.mapping.PropertyReferenceException
30 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
8Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency8

DefaultListableBeanFactory.registerSingleton() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton
7Web pages
IllegalStateExceptionDefaultListableBeanFactory.registerSingleton7

DefaultListableBeanFactory.resolveDependency() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
7 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
7Web pages
IllegalArgumentExceptionDefaultListableBeanFactory.resolveDependency7

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

java.lang.IllegalArgumentException
21 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
7Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency7

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
9 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
7Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType7

DefaultListableBeanFactory.resolveDependency() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
13 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
6Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.resolveDependency6

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
11 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
6Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency6

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
10 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
6Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType6

DefaultListableBeanFactory.getBeanNamesForType() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
12 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
6Web pages
NoClassDefFoundErrorDefaultListableBeanFactory.getBeanNamesForType6

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
10 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
6Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency6

DefaultListableBeanFactory.getBeansOfType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
10 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType
6Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeansOfType6

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.validation.BindException
16 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
6Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency6

DefaultListableBeanFactory.doResolveDependency() has thrown a TypeMismatchException

java.lang.NumberFormatException
12 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency
5Web pages
TypeMismatchExceptionDefaultListableBeanFactory.doResolveDependency5

DefaultListableBeanFactory.getBean() has thrown a NoSuchBeanDefinitionException

org.springframework.beans.factory.NoSuchBeanDefinitionException
2 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean
5Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.getBean5

DefaultListableBeanFactory.resolveDependency() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
20 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
5Web pages
IllegalArgumentExceptionDefaultListableBeanFactory.resolveDependency5

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

org.springframework.beans.factory.CannotLoadBeanClassException
5 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
5Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType5

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

org.springframework.beans.factory.CannotLoadBeanClassException
4 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
5Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType5

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
17 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
5Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType5

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.data.mapping.PropertyReferenceException
30 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
5Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency5

DefaultListableBeanFactory.resolveNamedBean() has thrown a NoSuchBeanDefinitionException

org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean
4Web pages
NoSuchBeanDefinitionExceptionDefaultListableBeanFactory.resolveNamedBean4

DefaultListableBeanFactory.resolveDependency() has thrown a BeanNotOfRequiredTypeException

org.springframework.beans.factory.BeanNotOfRequiredTypeException
3 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
4Web pages
BeanNotOfRequiredTypeExceptionDefaultListableBeanFactory.resolveDependency4

DefaultListableBeanFactory.registerBeanDefinition() has thrown a BeanDefinitionStoreException

org.springframework.beans.factory.BeanDefinitionStoreException
org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition
4Web pages
BeanDefinitionStoreExceptionDefaultListableBeanFactory.registerBeanDefinition4

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
11 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
4Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType4

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

org.springframework.beans.factory.NoSuchBeanDefinitionException
26 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
4Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency4

DefaultListableBeanFactory.resolveDependency() has thrown a BeanCreationException

java.lang.IllegalStateException
7 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency
4Web pages
BeanCreationExceptionDefaultListableBeanFactory.resolveDependency4

DefaultListableBeanFactory.getBeanNamesForType() has thrown a CannotLoadBeanClassException

java.lang.ClassNotFoundException
11 frames hidden
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
4Web pages
CannotLoadBeanClassExceptionDefaultListableBeanFactory.getBeanNamesForType4
Nothing to list here.
Nothing to list here.