I'm trying to use classpath
variable but I always get a FileNotFoundException
.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU" xmlns:p="http://ift.tt/1jdM0fE"
xmlns:aop="http://ift.tt/OpNdV1" xmlns:tx="http://ift.tt/OGfeU2"
xmlns:context="http://ift.tt/GArMu7"
xmlns:mvc="http://ift.tt/1bHqwjR" xmlns:jpa="http://ift.tt/1iMF6wA"
xsi:schemaLocation="http://ift.tt/GArMu6 http://ift.tt/1cMYE2s
http://ift.tt/OpNdV1 http://ift.tt/1iMF6wJ
http://ift.tt/OGfeU2 http://ift.tt/1dt4Cn6
http://ift.tt/GArMu7 http://ift.tt/1dfrlFf
http://ift.tt/1bHqwjR http://ift.tt/1cKeJ91
http://ift.tt/1iMF6wA http://ift.tt/1jZdjKs">
<tx:annotation-driven />
<context:component-scan base-package="ar.com.conexia.salud.*" />
<bean id="pdfGenerator" class="ar.com.conexia.generator.PdfGenerator">
<!-- <constructor-arg
value="#{systemProperties['catalina.home']}/webapps/COMEI_Beneficiario/WEB-INF/classes/reports/" /> -->
<constructor-arg value="classpath:/reports/" />
<constructor-arg value="C://reports//" />
</bean>
</beans>
As you can see, I tried using catalina.home
variable as an alternative to check that I don't have any other problem with the file and it's fine.
Thanks.
Aucun commentaire:
Enregistrer un commentaire