Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

java.lang.ClassNotFoundException: com.google.common.io.BaseEncoding #100

Closed
dMitin opened this issue Mar 15, 2014 · 2 comments
Closed

java.lang.ClassNotFoundException: com.google.common.io.BaseEncoding #100

dMitin opened this issue Mar 15, 2014 · 2 comments

Comments

@dMitin
Copy link

dMitin commented Mar 15, 2014

master (197d4ba)
try to run hbc example and get this exeption:

Exception in thread "hosebird-client-io-thread-0" java.lang.NoClassDefFoundError: com/google/common/io/BaseEncoding
    at com.twitter.joauth.Base64Util.encode(Base64Util.java:125)
    at com.twitter.joauth.Signer$StandardSigner.getString(Signer.java:67)
    at com.twitter.hbc.httpclient.auth.OAuth1.signRequest(OAuth1.java:114)
    at com.twitter.hbc.core.HttpConstants.constructRequest(HttpConstants.java:75)
    at com.twitter.hbc.httpclient.ClientBase.run(ClientBase.java:134)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.google.common.io.BaseEncoding
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
@kevinoliver
Copy link
Contributor

Yeah, easy to reproduce, thanks. We need to add some tests for the example code.

@caniszczyk
Copy link
Contributor

Should be fixed now, thanks for the issue report.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants