Hi,
I installed the libraries (jcommon jfreechart-1.0.19-1.0.23) and I have successfully created a chart, but when i try to use a database JDBCXYDataset (JDBCPieDataset, JDBCCategoryDataset) i get an error:
"JDBCXYDataset can not be resolved to a type".
Can you please give me a hint?
Thanks so much.
JDBCXYDataset cannot be resolved to a type
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: JDBCXYDataset cannot be resolved to a type
A missing import?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: JDBCXYDataset cannot be resolved to a type
If it is finding other JFreeChart classes (so you know the JFreeChart/JCommon jar files are on your class path) then you should check that you don't have two JFreeChart jar files on your class path (this causes problems and the error messages are never clear).
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