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 2022/06/13 02:48:36 UTC

[GitHub] [dubbo] huifer opened a new issue, #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

huifer opened a new issue, #10141:
URL: https://github.com/apache/dubbo/issues/10141

   In the project, I switched to TAG 3.0.8 and compiled, and the following problems occurred
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project dubbo-configcenter-nacos: Compilation failure: Compilation failure:
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[19,35] 错误: 程序包com.alibaba.nacos.api.config不存在
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[20,44] 错误: 程序包com.alibaba.nacos.api.config.listener不存在
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[21,38] 错误: 程序包com.alibaba.nacos.api.exception不存在
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[34,12] 错误: 找不到符号
   [ERROR]   符号:   类 ConfigService
   [ERROR]   位置: 类 NacosConfigServiceWrapper
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[36,37] 错误: 找不到符号
   [ERROR]   符号:   类 ConfigService
   [ERROR]   位置: 类 NacosConfigServiceWrapper
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[40,11] 错误: 找不到符号
   [ERROR]   符号:   类 ConfigService
   [ERROR]   位置: 类 NacosConfigServiceWrapper
   [ERROR] /Users/zhangsan/git_repo/for-book/dubbo/dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosConfigServiceWrapper.java:[44,57] 错误: 找不到符号
   ```
   
   
   After checking, I found that `nacos-api` dependencies were missing. I added the following dependencies in `dubbo/dubbo-registry/dubbo-registry-nacos/pom.xml`  and succeeded in compiling
   ```
   <dependency>
     <groupId>com.alibaba.nacos</groupId>
     <artifactId>nacos-api</artifactId>
     <version>2.0.4</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


[GitHub] [dubbo] huifer commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
huifer commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153499066

   <img width="1640" alt="image" src="https://user-images.githubusercontent.com/26766909/173287989-319bd9c5-bc0e-4bdf-8064-17bcac0defd7.png">
   


-- 
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] wangchengming666 commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
wangchengming666 commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153435473

   hi i have check it ok
   
   ![image](https://user-images.githubusercontent.com/17539174/173276657-f8429fab-a058-4f1f-8ac9-24763c5aa9de.png)
   


-- 
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] chickenlj closed issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
chickenlj closed issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of
URL: https://github.com/apache/dubbo/issues/10141


-- 
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] chickenlj commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153721451

   I have checked the official release of nacos-client on the central maven repo. nacos-client is sufficient to work on its own without worrying about the dependency problem.
   
   Please check if you are using the right nacos-client library, for example, you have a local version of nacos-client which was deployed by yourself.
   
   Reopen if necessary.


-- 
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] huifer commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
huifer commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153420721

   The following dependencies are missing from the `dubo-configcenter-nacos` module
   
   ```xml
   <dependency>
       <groupId>com.alibaba.nacos</groupId>
       <artifactId>nacos-api</artifactId>
       <version>2.0.4</version>
   </dependency>
   <dependency>
       <groupId>com.alibaba.nacos</groupId>
       <artifactId>nacos-common</artifactId>
       <version>2.0.4</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

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] huifer commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
huifer commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153498474

   The dependency information in the project(`dubbo-configcenter-nacos`)  is as follows,
   <img width="855" alt="image" src="https://user-images.githubusercontent.com/26766909/173287245-e22a81f4-7c7a-4714-9975-e4753e2b656f.png">
   
   nacos-api、nacos-common does not appear in the dependency list above
   


-- 
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] huifer commented on issue #10141: [Discussion] dubbo 3.0.8 Depend on the lack of

Posted by GitBox <gi...@apache.org>.
huifer commented on issue #10141:
URL: https://github.com/apache/dubbo/issues/10141#issuecomment-1153899825

   I confirm that `nacos-client` is version-compliant


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