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

Spring JIRA | Magnus Heino | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

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