Dear experts,

We have recently noticed the warning regarding the duplicate class on 
/org/apache/dubbo/common/Version.class between org.apache.dubbo:dubbo and 
org.apache.dubbo:dubbo-common.

As many topics have been suggested to exclude the dubbo-common.
We have tried to exclude the dubbo-common library as the suggestion with the 
help of Maven:
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo</artifactId>
            <version>${dubbo.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>com.apache.dubbo</groupId>
                    <artifactId>dubbo-common</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-serialization-kryo</artifactId>
            <version>${dubbo.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>com.apache.dubbo</groupId>
                    <artifactId>dubbo-common</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Anyway, the warning persists and the mvn dependency:tree still shows 
dubbo-common is included in the dependency tree.

Even though this is not stopping our application to run, but we would like to 
know if it is possible to fix it for good.

Best regards
Tien Dat PHAN

Reply via email to