GWT Visualization NoClassDefFoundError

2011-01-13 Thread Ross McKinnon
Hi there,

Im trying to create an OrgChart via GWT Visualizations, however i keep
getting this error when i try create it! i Have the JAR files in both
the buildpath and the war/web-inf/lib and still having no such luck!
Does anyone use this package and know why this might be happening?

Thanks,
Ross

--Error I am recieving
Uncaught exception escaped : java.lang.NoClassDefFoundError
com/google/gwt/visualization/client/visualizations/OrgChart
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught
exception handling.

-- Code that is creating it

public OrgChart createChart(){
OrgChart chart = new OrgChart();
chart.draw(createTable());


return chart;
}

private AbstractDataTable createTable() {
com.google.gwt.visualization.client.DataTable data =
com.google.gwt.visualization.client.DataTable.create();
data.addColumn(ColumnType.STRING, Req);
data.addColumn(ColumnType.STRING, Parent);
data.addColumn(ColumnType.STRING, ToolTip);
data.addRows(list.size());
data.setValue(0,0, req);
for(int i = 0;ilist.size();i++){
data.setValue(i,0,list.get(i).getReq_title());
}
return data;
  }

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Visualization NoClassDefFoundError

2011-01-13 Thread Y2i
Is it possible that you didn't inherit from 
com.google.gwt.visualization.Visualization 
module?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.