Thursday, December 25, 2014

Thread-16" java.lang.UnsatisfiedLinkError: com/google/gwt/visualization/client/DataTable.create()

Hi I am trying to create a Datatable using Google Visualization client using java , i have following method to create a simple table chart , the code does not show any error , I have the out upput of the method to be written to a html file using stringbuffer but i am getting error as below , can someone please help me resolving the issue

Code :  public AbstractDataTable createTable() 
                {
                    DataTable data = DataTable.create();
                    data.addColumn(ColumnType.STRING, "Task");
                    data.addColumn(ColumnType.NUMBER, "Hours per Day");
                    data.addRows(2);
                    data.setValue(0, 0, "Work");
                    data.setValue(0, 1, 14);
                    data.setValue(1, 0, "Sleep");
                    data.setValue(1, 1, 10);
                    
                    return data;
                  }}

 Adding to html file using :  footer.append("<TD width='50%'><b><font color='#ff3333' face='Verdana' size=2>:"+ createTable() +"</b></font></TD>");

Error on run : Exception in thread "Thread-16" java.lang.UnsatisfiedLinkError: com/google/gwt/visualization/client/DataTable.create()Lcom/google/gwt/visualization/client/DataTable;

Thanks

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, you should delete this message and are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment