We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java SDK (apache/dubbo)
Dubbo Java 3.3.1, OpenJDK 1.8, openEuler22.03
mvn clean package -DskipTests
The error is reported as follows,I compiled successfully on machines on other systems such as centos8, but I don't know what caused the difference.
[INFO] --- maven-remote-resources-plugin:3.1.0:process (process-resource-bundles) @ dubbo-rpc-triple --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ dubbo-rpc-triple --- [INFO] Copying 19 resources from src/main/resources to target/classes [INFO] Copying 2 resources from ../.. to target/classes/META-INF [INFO] Copying 1 resource from ../.. to target/classes/META-INF/dubbo-versions [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes [INFO] [INFO] --- flatten-maven-plugin:1.6.0:flatten (flatten) @ dubbo-rpc-triple --- [INFO] Generating flattened POM of project org.apache.dubbo:dubbo-rpc-triple:jar:3.3.1... [INFO] [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ dubbo-rpc-triple --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 219 source files with javac [forked debug target 1.8] to target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java:[45,44] error: package io.grpc.health.v1.HealthCheckResponse does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/TriBuiltinService.java:[33,24] error: package io.grpc.health.v1 does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/TriBuiltinService.java:[34,24] error: package io.grpc.health.v1 does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/TriBuiltinService.java:[49,12] error: cannot find symbol symbol: class Health location: class TriBuiltinService [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[28,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[29,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[30,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[31,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[32,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[33,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[34,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[35,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[36,33] error: package io.grpc.reflection.v1alpha does not exist [ERROR] /home/stage/root/spack-stage-dubbo-3.3.1-ljcurzemeprkoyo3ixhz3dxhszsn3fct/spack-src/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/service/ReflectionV1AlphaService.java:[43,73] error: package DubboServerReflectionTriple does not exist
No response
The text was updated successfully, but these errors were encountered:
Since these codes are generated from proto files, you need to compile them once in Maven before proceeding with packaging.@simon28li
Sorry, something went wrong.
Can you tell me the specific steps?
Since these codes are generated from proto files, you need to compile them once in Maven before proceeding with packaging.@simon28li Can you tell me the specific steps?
try mvn clean complie package -DskipTests
mvn clean complie package -DskipTests
Please close this pr as complete.
No branches or pull requests
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo Java 3.3.1, OpenJDK 1.8, openEuler22.03
Steps to reproduce this issue
mvn clean package -DskipTests
What you expected to happen
The error is reported as follows,I compiled successfully on machines on other systems such as centos8, but I don't know what caused the difference.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: