NoClassDefFoundError when running Twitter Example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NoClassDefFoundError when running Twitter Example

syed
I am facing the *java.lang.NoClassDefFoundError:
com/twitter/hbc/httpclient/auth/Authentication*
error when running the tweeter example.

The example works well with the sample data, but I am unable to run it with
real tweet data.
Please guide me how to fix this issue. I am running Flink 1.3.2.
Thanks



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: NoClassDefFoundError when running Twitter Example

Till Rohrmann
Hi Syed,

could you check whether this class is actually contained in the twitter example jar? If not, then you have to build an uber jar containing all required dependencies.

Cheers,
Till

On Tue, Jul 24, 2018 at 5:11 AM syed <[hidden email]> wrote:
I am facing the *java.lang.NoClassDefFoundError:
com/twitter/hbc/httpclient/auth/Authentication*
error when running the tweeter example.

The example works well with the sample data, but I am unable to run it with
real tweet data.
Please guide me how to fix this issue. I am running Flink 1.3.2.
Thanks



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/