You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2019/07/09 06:02:25 UTC

[GitHub] [dubbo-samples] jimiyi commented on issue #102: 类重复问题

jimiyi commented on issue #102: 类重复问题
URL: https://github.com/apache/dubbo-samples/issues/102#issuecomment-509501340
 
 
   `<properties>
           <dubbo.version>2.7.2</dubbo.version>
       </properties>
   
       <dependencies>
           <dependency>
               <groupId>org.apache.dubbo</groupId>
               <artifactId>dubbo</artifactId>
               <version>${dubbo.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.dubbo</groupId>
               <artifactId>dubbo-dependencies-zookeeper</artifactId>
               <version>${dubbo.version}</version>
               <type>pom</type>
           </dependency>
           <dependency>
               <groupId>org.apache.dubbo</groupId>
               <artifactId>dubbo-metadata-report-zookeeper</artifactId>
               <version>${dubbo.version}</version>
               <type>pom</type>         
           </dependency>
       </dependencies>`
   上面是我的pom.xml文件,貌似dubbo和dubbo-metadata-report-zookeeper 有重复的类
   程序运行报错如下:
   Duplicate class org/apache/dubbo/remoting/RemotingException.class in 2 jar .m2/repository/org/apache/dubbo/dubbo/2.7.2/dubbo-2.7.2.jar!/org/apache/dubbo/remoting/RemotingException.class .m2/repository/org/apache/dubbo/dubbo-remoting-api/2.7.2/dubbo-remoting-api-2.7.2.jar!/org/apache/dubbo/remoting/RemotingException.class]

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org