For your specific problem try to look at
https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/building.html#dependency-shading
.
Which version of maven are you using?

On Wed, Jul 10, 2019 at 10:25 AM Flavio Pompermaier <pomperma...@okkam.it>
wrote:

> From some version of Flink many libraries (included jackson) are shaded
> into org.apache.flink.shaded in order to avoid conflicts during class
> loading.
> See https://github.com/apache/flink-shaded
>
> Best,
> Flavio
>
> On Wed, Jul 10, 2019 at 10:21 AM Marvin777 <xymaqingxiang...@gmail.com>
> wrote:
>
>> hi, all:
>>
>> The flink-dist package downloaded from the flink community does not have
>> the dependencies of Jackson and protobuf, like figure 1.
>> But when I pull the code from github and compile and package it using the
>> mvn clean package command, flink-dist has dependencies on Jackson and
>> protobuf, like figure 2.
>>
>> Am I forgetting something? Who knows why.
>>
>> Thanks.
>>
>> figure 1
>> [image: image.png]
>>
>> figure 2
>> [image: image.png]
>>
>>
>>
>

Reply via email to