Hi all, Using Jasper Reports 4.0.0 on Ubuntu 10.04 with Java version: "java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~10.04.1) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode" I am getting the following error while trying to write a simple test report to a pdf file (using CSV data) and it works just fine in project mode in eclipse. at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.getResourceURI(JRReportSaxParserFactory.java:189) at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.getSchemaLocations(JRReportSaxParserFactory.java:154) at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.configureParser(JRReportSaxParserFactory.java:138) at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createParser(JRReportSaxParserFactory.java:103) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1332) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1307) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:205) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRRuntimeException: Could not find resource net/sf/jasperreports/engine/dtds/jasperreport.xsd However to distribute it to a state where it can be moved around and run on a server, I have tried two things: I'm trying to package jasper reports as a standalone jar in eclipse by right clicking the project and selecting export. I have tried several configuration options in there to no avail. (The missing file in the error DOES EXIST in the packaged jar file in its correct place). I have also tried to use jasper reports through pyjasper and jython, and everything works fine in the same manner as before, and runs into the same identical error. I have tried adding the xsd file to my classpath, along with its containing folder. I have tried packaging the xsd as a seperate jar file and importing it independently to ensure it is present in java, but it still can't be seen when running outside of eclipse. I have also tried running my code with jasper reports 3.7.6 with identical results. The code used in the jython test is completely independent of the java code used when packaging as jar. Both generate the same error. The table and csv data used preview just fine in ireport and the report is being generated with the java code when run from eclipse. My error is simmilar to the one mentioned in this (unresolved?) forum post http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=55762 I am relatively new to java, so I would be very grateful for any kind of help towards resolving this. Be it my understanding of java or of jasper reports that is to blame. Thanks in advance! Post Edited by qb89dragon at 02/09/2011 08:08 Post Edited by qb89dragon at 02/09/2011 08:11