SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Run sample code AppsProvisioning error #380

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run AppsProvisioning in the video demo 
http://www.youtube.com/watch?v=dz9Ny22M4V4

What is the expected output? What do you see instead?
Print out as in the demo. 
Error. 
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 AppsProvisioning.main(AppsProvisioning.java:37)
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?
1. Eclipse 3.7.1 and Google data plugin
2. Google library gdata-src.java-1.46.0.zip

Please provide any additional information below.
The class com/google/common/collect/Maps is not exist both in the source and 
library.

Original issue reported on code.google.com by lloyd.kh...@gmail.com on 11 Feb 2012 at 7:44