Forum: Building VoltDB Applications

Post: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ForwardingMap

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ForwardingMap
jcm
Jun 25, 2013
Ubuntu 12.04
Java 1.7

I worked through the many edits and issues and thought I had successfully completed 'getting started' through 3.10. I typed in java Client and got the following. I don't know where to begin. Any direction is appreciated. thanks Jonathan

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ForwardingMap
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:787)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at org.voltcore.utils.DBBPool.<clinit>(DBBPool.java:175)
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:98)
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:72)
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:56)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:169)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:143)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:118)
at org.voltdb.client.Distributer.createConnectionWithHashedCredentials(Distributer.java:614)
at org.voltdb.client.ClientImpl.createConnectionWithHashedCredentials(ClientImpl.java:171)
at org.voltdb.client.ClientImpl.createConnection(ClientImpl.java:542)
at Client.main(Client.java:14)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ForwardingMap
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 23 more