<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6366?redirect=false" rel="nofollow">SPR-6366</a></strong> and commented</p>
<p dir="auto">Cannot import bean definitions using classpath*: resource location. Somewhere between RC1 and RC2 the behaviour of &lt;import resource="classpath*:..."/&gt; changed so that it is now treated as a relative resource, where clearly it is not.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 RC2</p>
<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="398095085" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10432" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10432/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10432">#10432</a> XML bean definition "import" directive doesn't work with custom resource loader (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398099393" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11046" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11046/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11046">#11046</a> Import of XML resources with 'classpath*:' URLs doesn't work (<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="398099694" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11077" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11077/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11077">#11077</a> Regression: Cannot import XML bean documents using classpath*: pseudo URLs (<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="398099173" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11017" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11017/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11017">#11017</a> classpath*: is no longer finding resources with  (<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="398099680" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11076" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11076/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11076">#11076</a> Behavior of Bean loading changed in RC2 (Incompatible to Apache CXF)</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-projects/spring-framework/commit/7ac0e2ba02eb16fad4dc97236cbef2a1c8c6804c/hovercard" href="https://github.com/spring-projects/spring-framework/commit/7ac0e2ba02eb16fad4dc97236cbef2a1c8c6804c"><tt>7ac0e2b</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/66939ded0ffe646f417abe08a8a4e70167d6410e/hovercard" href="https://github.com/spring-projects/spring-framework/commit/66939ded0ffe646f417abe08a8a4e70167d6410e"><tt>66939de</tt></a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=yozh" rel="nofollow">Stepan Koltsov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8257?redirect=false" rel="nofollow">SPR-8257</a></strong> and commented</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration
public class TmpConfig {

    @PostConstruct
    public void init() {
        System.out.println(&quot;TmpConfig.init&quot;);
    }

    @Bean
    public PropertyPlaceholderConfigurer propertyPlaceholderConfigurer() {
        return new PropertyPlaceholderConfigurer();
    }

}


new AnnotationConfigApplicationContext(TmpConfig.class);"><pre class="notranslate"><code class="notranslate">@Configuration
public class TmpConfig {

    @PostConstruct
    public void init() {
        System.out.println("TmpConfig.init");
    }

    @Bean
    public PropertyPlaceholderConfigurer propertyPlaceholderConfigurer() {
        return new PropertyPlaceholderConfigurer();
    }

}


new AnnotationConfigApplicationContext(TmpConfig.class);
</code></pre></div>
<p dir="auto">nothing is printed. However, if propertyPlaceholderConfigurer bean removed:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration
public class TmpConfig {

    @PostConstruct
    public void init() {
        System.out.println(&quot;TmpConfig.init&quot;);
    }

}


new AnnotationConfigApplicationContext(TmpConfig.class);"><pre class="notranslate"><code class="notranslate">@Configuration
public class TmpConfig {

    @PostConstruct
    public void init() {
        System.out.println("TmpConfig.init");
    }

}


new AnnotationConfigApplicationContext(TmpConfig.class);
</code></pre></div>
<p dir="auto">"TmpConfig.init" is printed as expected.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M1</p>
<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="398111929" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12917" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12917/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12917">#12917</a> BeanFactoryPostProcessor breaks default post-processing of <code class="notranslate">@Configuration</code> classes (<em><strong>"duplicates"</strong></em>)</li>
</ul>