hgfree Posted April 9, 2009 Share Posted April 9, 2009 1 - org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jasperReport'.java.lang.Exception: 1 - org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jasperReport'. at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:403) at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:320) at com.jaspersoft.ireport.jasperserver.ReportRunner.run(ReportRunner.java:70) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Hello,I receive the above message when trying to Run Report Unit through JasperServer Pro 3.0.2 Repository in iReport 3.5.0. The report runs OK when executing in iReport Preview. Other Info from About: Java: 1.5.0_06; Java HotSpot Client VM 1.5.0_06-b05 System: Windows XP version 5.1 running on x86; UTF-8; en_US(iReport). I get the following message when trying to run the report through JasperServer Pro. Not sure where to post this as it appears to cross several forums. Any ideas on why this is happening and how to fix?Thank You,Chris Error Trace: com.jaspersoft.jasperserver.api.JSExceptionWrapper: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jasperReport'. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted April 9, 2009 Share Posted April 9, 2009 iReport 3.5.0 uses jasperreports 3.5.0 that produce a jrxml not compatible with older versions.Workaround: Tools->options->ireport->jasperserver repositorycheck the flag to patch the file.Please note that this only patch the DTD reference, but if you use some of the new tags (i.e. pie chart are changed a lot), you can still have problems with your jrxml.Giulio Link to comment Share on other sites More sharing options...
hgfree Posted April 13, 2009 Author Share Posted April 13, 2009 Hello Giulio,Thank you for the reply. I checked the flag to patch the file, still getting same error. I'll continue to look around for a fix and post an update if found.Thanks,Chris Link to comment Share on other sites More sharing options...
glenbdcs Posted August 24, 2009 Share Posted August 24, 2009 Hi Chris,Have you been able to resolve this problem? We now have this error ever since we moved to a new Server. The previous died along with all our JasperReports.We feel we have something left out somewhere but we have almost no Java skills and no idea where to start looking.We really like using the product but it does require huge amounts of Googling ever word when trying to figure out the syntax if we need to manipulate data.Thanks in advance to you and anyone else who can help us please. Glen. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now