|
|
I have an app that uses Jasperreports. In Eclipse, I have a folder resources/JasperReports and all the .jasper files are here. In development in Eclipse it works. However, when I transfer the app to the Ubuntu server the app cannot find the .jasper files. the error is:
Apr 22 19:21:06 ASBriefs[2002] ERROR er.extensions.appserver.ERXApplication - Exception caught: org.apache.commons.lang.exception.NestableRuntimeException:
java.lang.NullPointerException: Cannot invoke "java.net.URL.getFile()" because the return value of "er.extensions.foundation.ERXFileUtilities.pathURLForResourceNamed(String, String>
So the app is not finding the resources in resources/JasperReports. Is there anything I can add to the Properties to help the app find these files. Obviously, I can just leave the .jasper files up one level in the resources folder but I am trying to keep things clean.
Ted
|
|