Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[SPR-7966] Improve failure mode when depends-on cycle exists #270

Closed
wants to merge 7 commits into
from

Conversation

Projects
None yet
1 participant
@ghost

ghost commented Apr 8, 2013

Related to spring jira issue SPR-7966(https://jira.springsource.org/browse/SPR-7966)

In circular 'depends-on' relation, BeanCreationException will occur
instead of StackOverflowError with this pull request.

example>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bean3': Beans with name 'bean2' and 'bean3' are dependent in circular manner; consider removing 'depends-on' attribute from one of them.

@ghost ghost closed this Apr 25, 2013

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment