Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » Eclipse not working with JFreeChart(for SWT)(Eclipse cannot instantiate view in RCP PlugIn when work with JfreeCharts( for SWT).)
icon8.gif  Eclipse not working with JFreeChart(for SWT) [message #685251] Fri, 17 June 2011 06:13 Go to next message
chinnii  is currently offline chinnii Friend
Messages: 7
Registered: June 2011
Junior Member
I created a RCP Project. The view in RCP Project has to create a Pie Chart when i use JFreeChart for SWT. It is not able to load the JARS at run time when creates the view.
i placed the following jars.
1. jcommon-1.0.16.jar
2. jfreechart-1.0.13-experimental.jar
3. jfreechart-1.0.13-swt.jar
4. jfreechart-1.0.13.jar
5. jfreechart-1.0.4-demo.jar
6. org.eclipse.swt.win32.win32.x86_3.3.0.v3346.jar
7. swtgraphics2d.jar

The following Error in Console:
!MESSAGE Unable to create view ID RCPChart.view: Plug-in "RCPChart" was unable to instantiate class.
!STACK 0
java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset

The error in new Created View.
Could not create the view: Plug-in "RCPChart" was unable to instantiate class "rcpchart.View".
Re: Eclipse not working with JFreeChart(for SWT) [message #685425 is a reply to message #685251] Fri, 17 June 2011 13:35 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2371
Registered: July 2009
Senior Member
On 6/17/11 2:13 AM, chinnii wrote:
> I created a RCP Project. The view in RCP Project has to create a Pie
> Chart when i use JFreeChart for SWT. It is not able to load the JARS at
> run time when creates the view.
> i placed the following jars. 1. jcommon-1.0.16.jar
> 2. jfreechart-1.0.13-experimental.jar
> 3. jfreechart-1.0.13-swt.jar
> 4. jfreechart-1.0.13.jar
> 5. jfreechart-1.0.4-demo.jar
> 6. org.eclipse.swt.win32.win32.x86_3.3.0.v3346.jar
> 7. swtgraphics2d.jar
>
> The following Error in Console:
> !MESSAGE Unable to create view ID RCPChart.view: Plug-in "RCPChart" was
> unable to instantiate class.
> !STACK 0
> java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset
>
> The error in new Created View.
> Could not create the view: Plug-in "RCPChart" was unable to instantiate
> class "rcpchart.View".

This is the forum group for non-technical discussions about the Eclipse
Foundation. Please post your question to one of the technical groups
instead.
Previous Topic:More DemoCamps: Munich, San Jose, Braunschweig, Darmstadt, Dresden, Jena, Toulouse, Budapest, Pune
Next Topic:EPL License in docbook format
Goto Forum:
  


Current Time: Sat Nov 29 00:37:39 GMT 2014

Powered by FUDForum. Page generated in 0.02557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software