Jump to content

java.io.FileNotFoundException: http://www.jaspersoft.com/schema/highcharts.xsd


yasser.zamani

Recommended Posts

I downloaded jasper 30 days trial to try and then buy it.

Then I just tried to compile a report which has a HTML5 Pie Chart that has following lines:

 

xmlns:hc="http://jaspersoft.com/highcharts"

xsi:schemalocation="http://jaspersoft.com/highcharts http://jaspersoft.com/schema/highcharts.xsd">

 

I tried to browse "http://jaspersoft.com/schema/highcharts.xsd" via FireFox and I found it really does not exist.

 

The stack trace is:

 

java.io.FileNotFoundException: http://www.jaspersoft.com/schema/highcharts.xsd

sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1623)

com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:633)

com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)

com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:582)

com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:685)

com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:530)

com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2155)

com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:562)

com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:588)

com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2448)

com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1767)

com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:741)

com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2717)

com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)

com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)

com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)

com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)

org.apache.commons.digester.Digester.parse(Digester.java:1892)

net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243)

net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:230)

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:218)

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:172)

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:156)

net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:137)

net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:438)

 

What's the matter please?

 

EDIT+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

RESOLVED: By adding highcharts-5.2.0.jar to the project built path!

 

RESOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

  • 1 year later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...