You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Force-King (via GitHub)" <gi...@apache.org> on 2023/06/25 03:51:32 UTC

[GitHub] [dubbo] Force-King opened a new issue, #12588: java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Force-King opened a new issue, #12588:
URL: https://github.com/apache/dubbo/issues/12588

   java.lang.NoClassDefFoundError: com/google/common/collect/Maps
   
   	at org.apache.dubbo.registry.nacos.util.NacosInstanceManageUtil.<clinit>(NacosInstanceManageUtil.java:40)
   	at org.apache.dubbo.registry.nacos.NacosRegistry.doSubscribe(NacosRegistry.java:211)
   	at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:297)
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:111)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:260)
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:64)
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:74)
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:58)
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.export(ProtocolSerializationWrapper.java:47)
   	at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
   	at org.apache.dubbo.config.ServiceConfig.doExportUrl(ServiceConfig.java:641)
   	at org.apache.dubbo.config.ServiceConfig.exportRemote(ServiceConfig.java:619)
   	at org.apache.dubbo.config.ServiceConfig.exportUrl(ServiceConfig.java:578)
   	at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:410)
   	at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:396)
   	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:361)
   	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:233)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServiceInternal(DefaultModuleDeployer.java:341)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServices(DefaultModuleDeployer.java:313)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:145)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:111)
   
   maven 依赖:
   
   
   ```
   <parent>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-dependencies</artifactId>
           <version>2.3.12.RELEASE</version>
       </parent>
       
       <spring.cloud.version>Hoxton.SR12</spring.cloud.version>
       <spring-cloud-alibaba.version>2.2.8.RELEASE</spring-cloud-alibaba.version>
       <dubbo-boot.version>3.0.8</dubbo-boot.version>
       <dubbo-registry-nacos.version>3.0.8</dubbo-registry-nacos.version>
       <nacos-client.version>2.1.0</nacos-client.version>
        <nacos-config-spring-boot.version>0.2.12</nacos-config-spring-boot.version>
        
        <dependency>
                   <groupId>org.apache.dubbo</groupId>
                   <artifactId>dubbo-spring-boot-starter</artifactId>
                   <version>${dubbo-boot.version}</version>
               </dependency>
               <dependency>
                   <groupId>org.apache.dubbo</groupId>
                   <artifactId>dubbo-registry-nacos</artifactId>
                   <version>${dubbo-registry-nacos.version}</version>
               </dependency>
               <dependency>
                   <groupId>com.alibaba.nacos</groupId>
                   <artifactId>nacos-client</artifactId>
                   <version>${nacos-client.version}</version>
               </dependency>
   
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] java.lang.NoClassDefFoundError: com/google/common/collect/Maps [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #12588: java.lang.NoClassDefFoundError: com/google/common/collect/Maps
URL: https://github.com/apache/dubbo/issues/12588


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [dubbo] songxiaosheng commented on issue #12588: java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #12588:
URL: https://github.com/apache/dubbo/issues/12588#issuecomment-1605876030

   是否同时存在了Guava和Google的collections包


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [dubbo] AlbumenJ commented on issue #12588: java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12588:
URL: https://github.com/apache/dubbo/issues/12588#issuecomment-1611318023

   升级下最新版本的 Dubbo,之前 Nacos 提供了 guava 的shade,但是高版本移除了。以前的  NacosRegistry 依赖了 guava 的api


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [dubbo] AlbumenJ commented on issue #12588: java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12588:
URL: https://github.com/apache/dubbo/issues/12588#issuecomment-1611319608

   Related with #10024 and #10468


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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