Just to keep my sanity, I'm telling Spring to barf on circular references:
_context = new ClassPathXmlApplicationContext(getApplicationContextFiles(), false);
_context.setAllowCircularReferences(false);
_context.refresh();
_context.start();
The problem is that the resulting stack trace actually does look like barf :|
How can I get a simple output of a circular references, similar to:
Unresolved circular reference: [aBean->nextBean->otherBean->aBean]
?