My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 03, 2008 by kunalmshah.userId
Labels: Featured
TemplateDemo  
Steps on how to create a new Google Data template

Introduction

This page demonstrates how to create a new Google Data template of your choice in a few steps using the Google Data plug-in.

Steps to create a new Google Data Template

For demonstration purpose, we will create a new Google Documents template which uses the Google Documents List Data API.


Comment by lama.yazeed, May 07, 2009

in step 2 when I click next an error message occurs : "The selected wizard could not be started.

Plug-in "com.google.gdata" was unable to instantiate class "com.google.gdata.devtools.eclipse.ui.NewProjectWizard?". java.lang.NullPointerException?
"

Comment by kunalmshah.userId, May 12, 2009

Please file it as an issue with details of the problem, OS and Eclipse version. We'll carry it forward from there.

Comment by ignazioc, Jun 09, 2009

I use ubuntu 9.04 and eclipse 3.2.2 eclipse works fine and i'm trying to install the google data plug-in following your instruction. but after restart eclipse there isn't "google data" folder in "new->other" menu. what is the problem? can you help me? there is a screenshoot thank you.

Comment by kunalmshah.userId, Jun 21, 2009

This plug-in requires Eclipse v3.3 or above. The requirements are listed on the Installation wiki.

Comment by toniazzom, Jul 07, 2009

Please, i need help. When i tried to execute the class, i had the follow error message:

Exception in thread "main" java.lang.NoClassDefFoundError: 
	at Documents.main(Documents.java:36)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps

Thanks for help

Comment by steve.j.ziegler, Jul 26, 2009

A gdata dependency on two jars found in the "deps" folder of the java gdata download was introduced a month or two ago. Add these two jars to your classpath and you will be good to go. The particular Maps class you are looking for is found in the google-collect-1.0-rc1 jar, which is one of those two dependencies.

Cheers.

Comment by yrnchowdary, Oct 29, 2009

Hi,

After setting the Classpath with the specified Jars also, i am getting the same exception as Mr.Toniazzom. Could you please help me?

Exception in thread "main" java.lang.NoClassDefFoundError?: com/google/common/collect/Maps

at com.google.gdata.wireformats.AltRegistry?.<init>(AltRegistry?.java:118) at com.google.gdata.wireformats.AltRegistry?.<init>(AltRegistry?.java:100) at com.google.gdata.client.Service.<clinit>(Service.java:532) at Documents.main(Documents.java:36)

This is My Classpath: (both UserVariables? and System Variables are set)

%JAVA_HOME%\lib;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps;.;

I tried giving the Classpath till the Jars as below: %JAVA_HOME%\lib;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps\jsr305.jar;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps\google-collect-1.0-rc1.jar;.;

I also tried copying the google-collect-1.0-rc1.jar and jsr305.jar onto my External Jars Location(which we give at the time of creating the Project). Even then also i got the same problem.

Could you please suggest me some solution for this?

Thanks in advance, Ravindanath Y


Sign in to add a comment
Hosted by Google Code