rrbutani / gdata-java-client-eclipse-plugin

Automatically exported from code.google.com/p/gdata-java-client-eclipse-plugin
0 stars 0 forks source link

Templates won't run on Eclipse 3.5.2 on Ubuntu 10.10 #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed Eclipse from the repository on Ubuntu
2. Installed java SDK from repository
3. Installed gdata plugin 
4. Downloaded gdata files
5. Created a Google Data project as per the instructions on the video and wiki.
6. Ran the program as per the instructions and received the enclosed error file.
7. Tried copying the dependency files into the src folder without any 
improvement in the operation of the program.

What is the expected output? What do you see instead?
Expected output is the programs executing correctly.  The templates compile but 
when you run them they throw an exception:

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:555)
    at Documents.main(Documents.java:36)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 4 more

What version of the product are you using? On what operating system?
I am running the latest version of the plugin on Eclipse 3.5.2 running on 
Ubuntu 10.10 64bit with sun Java 1.6 installed and setup in eclipse.  

Please provide any additional information below.

Original issue reported on code.google.com by ad...@mandroo.com on 29 Oct 2010 at 4:51

GoogleCodeExporter commented 9 years ago
Also tested with 3.6 on windows with the newest JDK with the same error.  This 
tool looks great I would love to use it to complete the project I am working on 
but I need to get it working

Original comment by ad...@mandroo.com on 29 Oct 2010 at 10:57