[jboss-jira] [JBoss JIRA] Created: (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
Thu May 14 13:04:46 EDT 2009


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