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(Bean.java:75) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:214) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:110) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.buildFile(BeansProjectValidator.java:70) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder####Visitor.visit(BeansProjectBuilder.java:62) at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder.build(BeansProjectBuilder.java:42) at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:581)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Imported, 1 year ago
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(Bean.java:75) at
via Spring JIRA by Imported, 1 year ago
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(Bean.java:75) at
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(Bean.java:75) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:214) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:110) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.buildFile(BeansProjectValidator.java:70) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder####Visitor.visit(BeansProjectBuilder.java:62) at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder.build(BeansProjectBuilder.java:42) at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:581)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.