I have a strange problem with Spring using PropertyPlaceholderConfigurer
. One of my beans is designed as follow :
try classpath*:jdbc.properties
IANA OSGI developer, but a quick Google search results in a link to the Spring-osgi documentation. Look at section 5.4 and note that the spring-osgi package makes some changes to Resource
loading. It looks like the ResourceLoader
implemented by the default ApplicationContext
for osgi will automatically pre-pend osgibundle:
if no other prefix is provided.
It appears as though there is some difference in scope between the path searched when using classpath:
and the path used when using classpath*:
, but I have so far been unable to find a good explanation for it.