I've a XSD file inside a directory called GML-XSD and using Netbeans 8.0.2 and inside the source code I use a String to this file
String gmlXSDFile = "etc/GML_XSD/epsg/EPSG.xsd";
The directory is project/GML-XSD/epsg/EPSG.xsd The problem is when I build the project and run it on Glassfish Server or Jetty, it complains about cannot find etc folder. How can I fix this to make sure it will try to find "etc/GML_XSD" inside the war file but not the directory where it is deployed.
Thanks.
Failed to read schema document 'file:/usr/local/ras/log/etc/GML_XSD/epsg/EPSG.xsd', because 1) could not find the document
No comments:
Post a Comment