<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=schlaufuchs" rel="nofollow">Kai Hackemesser</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8582?redirect=false" rel="nofollow">SPR-8582</a></strong> and commented</p>
<p dir="auto">I have converted an xml config file into java config. The xml config then and now the java config defined the "messagesource" bean and imported a handful of other xml configs.<br>
Some logic beans defined in the imported xml files depend on messagesource which is now defined in the importing config class - circle closed but exception thrown. As this was working in the pure xml config, I see this as a kind of regression.</p>
<p dir="auto">I was able to work around here by defining a separate java config file just for the message source and importing this in the main java config as well. But it would be nice if the config interpreter would be able to handle this for me the same way the xml config handler was doing this.</p>
<hr>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/18538/proof.jar" rel="nofollow">proof.jar</a> (<em>6.35 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113849" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13227" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13227/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13227">#13227</a> Java config for Web app context and servlet context - autowiring the configuration fails. (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398114036" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13252" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13252/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13252">#13252</a> Detect circular dependencies within <code class="notranslate">@Configuration</code> classes and throw a helpful exception</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-attic/spring-framework-issues/commit/09dd8abf2c28eb7d2b7bd4abaa67bffdbe4776b9/hovercard" href="https://github.com/spring-attic/spring-framework-issues/commit/09dd8abf2c28eb7d2b7bd4abaa67bffdbe4776b9">spring-attic/spring-framework-issues@<tt>09dd8ab</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-attic/spring-framework-issues/commit/4ea27b64420078b5514d950d2f6212a8a0b16f02/hovercard" href="https://github.com/spring-attic/spring-framework-issues/commit/4ea27b64420078b5514d950d2f6212a8a0b16f02">spring-attic/spring-framework-issues@<tt>4ea27b6</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-attic/spring-framework-issues/commit/a1c4743954d3f3268866d4d1e27454ba967a9a62/hovercard" href="https://github.com/spring-attic/spring-framework-issues/commit/a1c4743954d3f3268866d4d1e27454ba967a9a62">spring-attic/spring-framework-issues@<tt>a1c4743</tt></a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=diathesis" rel="nofollow">Geoffrey Wiseman</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1359?redirect=false" rel="nofollow">SPR-1359</a></strong> and commented</p>
<p dir="auto">I'm encountering a problem with Autowiring and Factories that seems to be, at the very least, unfortunate, and quite probably unintentional (e.g. a Bug).</p>
<p dir="auto">Since it's somewhat complicated, and since I described it in the forum system already, I'll point this to that rather than duplicate it.<br>
<a href="http://forum.springframework.org/viewtopic.php?t=9361" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=9361</a></p>
<p dir="auto">I've verified that the same thing happens in Spring 1.2.5.  I'd have a hard time isolating this from the larger config, so I haven't yet done so; if I can find the time, I'll try and figure it out.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.2.3, 1.2.5</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/11792/source.zip" rel="nofollow">source.zip</a> (<em>1.55 kB</em>)</li>
</ul>