[jboss-jira] [JBoss JIRA] Closed: (JBSPRING-7) Resources acquired with ApplicationContext.getResource("classpath:/normal-path") fail to get the File via getFile()

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue Sep 15 16:56:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSPRING-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marius Bogoevici closed JBSPRING-7.
-----------------------------------



> Resources acquired with ApplicationContext.getResource("classpath:/normal-path") fail to get the File via getFile()
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSPRING-7
>                 URL: https://jira.jboss.org/jira/browse/JBSPRING-7
>             Project: JBoss Spring Integration
>          Issue Type: Bug
>            Reporter: Marius Bogoevici
>            Assignee: Marius Bogoevici
>
> The method invoked is getResource() from DefaultResourceLoader which returns a ClassPathResource (that fails to retrieve the file because of the vfszip protocol being used in the URL). Must use getResource() from VFSResourceLoader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list