Hi, Did you try to use spring component scan tag inside war bundle? I'm getting the following exception (attached spring log file http://old.nabble.com/file/p33294104/spring.log spring.log ). I saw that a similar bug was solved for equinox, and what about felix? Is there a known workaround? https://jira.springsource.org/browse/SPR-6592 https://jira.springsource.org/browse/SPR-6592
The spring xml definition is attached http://old.nabble.com/file/p33294104/applicationContext.xml applicationContext.xml Exception: 2012-02-08 18:30:23,194 [pool-28-thread-1] (PathMatchingResourcePatternResolver.java:532) WARN - Cannot search for matching files underneath URL [bundle://275.0:2/examples/services/] because it does not correspond to a directory in the file system java.io.FileNotFoundException: URL [bundle://275.0:2/examples/services/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://275.0:2/examples/services/ at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:204) at org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:52) at org.springframework.core.io.UrlResource.getFile(UrlResource.java:168) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:528) ... 2012-02-08 18:30:23,194 [pool-28-thread-1] (PathMatchingResourcePatternResolver.java:353) DEBUG - Resolved location pattern [classpath*:examples/services/**/*.class] to resources [] thanks -- View this message in context: http://old.nabble.com/Spring-%2B-Felix-war-%2B-component-scan-tag-%3D-FileNotFoundException-tp33294104p33294104.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

