I followed the instructions as listed in https://developers.google.com/google-apps/spreadsheets/, and things compile Ok. However, when I try to run the application on App engine, I get the following error.
java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/SpreadsheetService
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
I see others seem to have faced similar issues as well. (http://productforums.google.com/forum/#!category-topic/apps/general-discussion/1ILYKJbtW1E%5B1-25%5D)
I thought it might be an incompatibility and tried upgrading my AppEngine SDK to 1.7.0 and GWT SDK to 2.4.0 as well but no luck.
Any ideas?
I followed the instructions as listed in this link, and things compile Ok. However, when I try to run the application on App engine, I get the following error.
java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/SpreadsheetService
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
I see others seem to have faced similar issues as well here.
First, add appropriate jars,
second, edit your Eclipse build path.