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/01/06 13:19:23 UTC

[GitHub] [dubbo] juzi214032 opened a new issue #9538: dubbo 3.0 build error

juzi214032 opened a new issue #9538:
URL: https://github.com/apache/dubbo/issues/9538


   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0
   * Maven Version: 3.8.1
   * Operating System version: macos 11.6 m1
   * Java version: OpenJDK Runtime Environment (Zulu 8.56.0.23-CA-macos-aarch64) (build 1.8.0_302-b08)
   
   ### Steps to reproduce this issue
   
   1. run dubbo-parent compile
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   <!-- What do you expect from the above steps?-->
   
   ### Actual Behavior
   build error
   ![image](https://user-images.githubusercontent.com/38206169/148388693-91cf8d28-c4a4-43b7-bec8-6ff0eb97e4ef.png)
   <!-- What actually happens? -->
   
   If there is an exception, please attach the exception trace:
   
   ```
   [INFO] dubbo-test-spring4.2 3.0.6-SNAPSHOT ................ SUCCESS [  0.353 s]
   [INFO] dubbo-native-plugin 3.0.6-SNAPSHOT ................. FAILURE [  0.729 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  01:04 min
   [INFO] Finished at: 2022-01-06T21:10:12+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project dubbo-native-plugin: Compilation failure: Compilation failure: 
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[19,40] 错误: 程序包org.apache.dubbo.common.extension不存在
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[20,40] 错误: 程序包org.apache.dubbo.common.extension不存在
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[21,40] 错误: 程序包org.apache.dubbo.common.extension不存在
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[22,36] 错误: 程序包org.apache.dubbo.common.utils不存在
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[59,47] 错误: 找不到符号
   [ERROR]   符号:   类 SPI
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[64,107] 错误: 找不到符号
   [ERROR]   符号:   类 Adaptive
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[72,16] 错误: 找不到符号
   [ERROR]   符号:   类 SPI
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[72,43] 错误: 找不到符号
   [ERROR]   符号:   类 SPI
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[74,20] 错误: 找不到符号
   [ERROR]   符号:   变量 StringUtils
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[77,16] 错误: 找不到符号
   [ERROR]   符号:   类 AdaptiveClassCodeGenerator
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] /Users/didi/Documents/code/dubbo-3.0.x/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java:[77,63] 错误: 找不到符号
   [ERROR]   符号:   类 AdaptiveClassCodeGenerator
   [ERROR]   位置: 类 CodeGenerator
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <args> -rf :dubbo-native-plugin
   
   Process finished with exit code 1
   ```
   


-- 
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] juzi214032 closed issue #9538: dubbo 3.0 build error

Posted by GitBox <gi...@apache.org>.
juzi214032 closed issue #9538:
URL: https://github.com/apache/dubbo/issues/9538


   


-- 
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] juzi214032 commented on issue #9538: dubbo 3.0 build error

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


   Install dubbo-build-tools first


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