Hi,
I am using JFree library to show chart on a swing UI,I am also using hadoop,but the data I am using in chart is static,I even opened the DocumentBuilderFactory.java and locate the gnujaxp.jar.I have refrenced all the four jars,the jars are kept on desktop ,the bar chart is shown properly on swing ui.The only problem is ,It is writing this exeception in console.Can somebody help me, how can i solve it?
14/08/04 00:08:43 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser gnu.xml.dom.JAXPFactory@1a13f3d:java.lang.UnsupportedOperationException: setXIncludeAware is not supported on this JAXP implementation or earlier: class gnu.xml.dom.JAXPFactory
java.lang.UnsupportedOperationException: setXIncludeAware is not supported on this JAXP implementation or earlier: class gnu.xml.dom.JAXPFactory
at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:589)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:485)
at org.apache.hadoop.hdfs.protocol.FSConstants.<clinit>(FSConstants.java:49)
at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.createBlockOutputStream(DFSClient.java:3435)
at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:3381)
at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2600(DFSClient.java:2589)
at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2829)
Thanks in Advance,
Ekta
Error while using the library
-
- Posts: 4
- Joined: Mon Aug 04, 2014 8:07 am
- antibot: No, of course not.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Error while using the library
gnujaxp.jar was originally used to provide XML support when running on JRE 1.3.1. You don't need it anymore, so try removing it from your classpath.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- Posts: 4
- Joined: Mon Aug 04, 2014 8:07 am
- antibot: No, of course not.
Re: Error while using the library
It worked.Thanks a lot
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Error while using the library
Does this mean I can use "BIG DATA" in the JFreeChart blurbs? loler.ektaagrawal wrote:
at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2829)
Thanks in Advance,
Ekta
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- Posts: 4
- Joined: Mon Aug 04, 2014 8:07 am
- antibot: No, of course not.
Re: Error while using the library
I think We can use it with BIG DATA and Hadoop.Right now I used it with static value but at later phase i need to use it with Hadoop.