java.lang.IllegalStateException: Bean definition does not carry a resolved bean class

Spring JIRA | Magnus Heino | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Bean definition does not carry a resolved bean class

    at org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass()
  2. Spring Beans
    RequiredBeanFactoryPostProcessor.postProcessBeanFactory
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass(AbstractBeanDefinition.java:266)
    2. org.springframework.beans.factory.annotation.RequiredBeanFactoryPostProcessor.processBeanDefinition(RequiredBeanFactoryPostProcessor.java:103)
    3. org.springframework.beans.factory.annotation.RequiredBeanFactoryPostProcessor.postProcessBeanFactory(RequiredBeanFactoryPostProcessor.java:81)
    3 frames