java.lang.IllegalStateException: Bean can only have a parent of type IBeansConfig, IBean or (in case of an inner bean) IBeanProperty

Spring JIRA | Imported | 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 can only have a parent of type IBeansConfig, IBean or (in case of an inner bean) IBeanProperty

      at org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig()
    2. org.springframework.ide
      BeansConfigValidator.validateBean
      1. org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:118)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:198)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:223)
      3 frames