Hi Guys,

I am currently working on integrating Flink with Mesos. Therefore I
currently reuse the flink-yarn uberjar assembly to build a jar that
contains all the classes I need. Now I have a dependency on a Google
Protobuf class. I added protobuf as a dependency to my module and it is
also contained in the uberjar under /com/google/protobuf.

Nevertheless, on execution I get the following error:
java.lang.ClassNotFoundException:
org.apache.flink.shaded.com.google.protobuf.ByteString

The location org.apache.flink.shaded... is wrong. I understand this is
related to the maven shading plugin but after some looking into it I am not
sure how to fix this.

Greetings,

Sebastian

Reply via email to