Issue:
When uploading a report with HTML component to JasperReports Server repository and trying to run it you may sometimes get the exception below:
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://jasperreports.sourceforge.net/xsd/htmlcomponent.xsd (http://jasperreports.sourceforge.net/xsd/htmlcomponent.xsd)', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .
Resolution:
This happens because HTML component lib is missing from the classpath. To fix the issue add the jasperreports-htmlcomponent-4.1.1.jar to <js-install>/WEB-INF/lib/ folder and restart the server. This library can be found in iReport Designer installation under /ireport/modules/ext/ folder.
Ref. Case #00025087 -- 13:46, 15 March 2012 (UTC)
Recommended Comments
There are no comments to display.
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