I have a report with HTML component in JasperReports 5.1.
Its working fine in iReport but not working in JasperReports Server Professional 5.0.
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'hc:html'.
One of '{"http://jasperreports.sourceforge.net/jasperreports":component}' is expected.
I tried to add the following properties in JasperReports.properties file but it didn't work:
net.sf.jasperreports.extension.registry.factory.htmlelement=net.sf.jasperreports.extensions.HtmlElementExtensionsRegistryFactory
net.sf.jasperreports.extension.registry.factory.htmlcomponent=net.sf.jasperreports.components.html.HtmlComponentExtensionsRegistryFactory
Please suggest how can I fix this.