Hi,
I've got project Web1 with -config.xml file:
file-in-myjar.xml - another -config.xml file whithin jar whithin Web1's lib directory:Code:<bean id="statisticResource" class="org.springframework.core.io.FileSystemResource"> <constructor-arg value="file-in-myjar.xml"/> </bean>
Web1
|-WEB-INF
|-config.xml
|-lib
|-myjar.jar
|-file-in-myjar.xml
But - I've got error:
java.io.FileNotFoundException: class path resource [file-in-myjar.xml]
cannot be resolved to URL because it does not exist
Thank you.


Reply With Quote