Results 1 to 11 of 11
Thread: Incorrect Package? Help!
- 12-10-2008, 12:18 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
- 12-10-2008, 09:37 PM #2Echilon Guest
Have you downloaded the package?
- 12-11-2008, 12:17 PM #3
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
- 12-12-2008, 09:14 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 12-14-2008, 07:37 AM #5
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
Also get a tool tip at:
package org.jfree.chart.demo; which says "Incorrect Package".
Exactly the error message:
Exception in thread "main" java.lang.NoSuchMethodError: org.jfree.chart.JFreeChartInfo.setLibraries(Ljava/util/List;)V
at org.jfree.chart.JFreeChartInfo.<init>(Unknown Source)
at org.jfree.chart.JFreeChart.<clinit>(Unknown Source)
at org.jfree.chart.ChartFactory.createTimeSeriesChart (Unknown Source)
at org.jfree.chart.demo.TimeSeriesDemo.createChart(Ti meSeriesDemo.java:32)
at org.jfree.chart.demo.TimeSeriesDemo.<init>(TimeSer iesDemo.java:25)
at org.jfree.chart.demo.TimeSeriesDemo.main(TimeSerie sDemo.java:106)
- 12-15-2008, 04:43 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I'm asking that again, did you add them to Java class path?
where?yes i have downloaded, added all the jars required. but still the same.
- 12-15-2008, 06:20 AM #7
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
I added the jars in the Libraries. well u mean adding them to environment variables, like no, not all. Do I need to? jfreechart-1.0.10 is already added there. So do I have to also add the other jar files locations in the environment variables? like do the set path="....path".
- 12-15-2008, 06:30 AM #8
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
Previously I used to add the jars to the Libraries all used to work fine. But here somehow its not working. Also resolved all the reference problems n specified all the paths.
- 12-15-2008, 07:30 AM #9
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Is that document explain any other package import with this package? Or on which class it should import.
- 12-15-2008, 04:26 PM #10
Member
- Join Date
- Dec 2008
- Posts
- 6
- Rep Power
- 0
- 12-17-2008, 03:08 AM #11
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What the package name of your project? If you have a specific one how can you add another package like this. You must import them.
Can you post the complete class you comes with the error message.
Similar Threads
-
package mj does not exist
By PzK in forum New To JavaReplies: 8Last Post: 12-03-2008, 10:30 PM -
Dubugger points to incorrect source code
By gdias in forum EclipseReplies: 0Last Post: 09-02-2008, 08:07 PM -
JXL Package
By gaya3 in forum Java ServletReplies: 1Last Post: 05-23-2008, 09:03 AM -
Package Explorer
By bilmeze in forum EclipseReplies: 0Last Post: 04-04-2008, 08:57 AM -
Elements package
By BlitzA in forum New To JavaReplies: 0Last Post: 12-27-2007, 11:58 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks