niyanchun commented on issue #2989: Compile V6.2.0 failed
URL: https://github.com/apache/skywalking/issues/2989#issuecomment-507923122
 
 
   Yeah,I miss these step, I thought is has nothing to do with [Setup your 
IntelliJ IDEA] section.  But, I add these steps, new errors occured.
   
   ## My step:
   
   1. `git clone https://github.com/apache/skywalking.git`
   2. `cd skywalking/`
   3. `git checkout v6.2.0`
   4. `git submodule init`
   5. `git submodule update`
   6. `./mvnw compile -Dmaven.test.skip=true`
   
   ## Error 
   
   ```
   [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ 
apm-network ---
   [INFO] Changes detected - recompiling the module!
   [INFO] Compiling 164 source files to 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/classes
   [INFO] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/java/org/apache/skywalking/apm/network/language/agent/MemoryPool.java:
 Some input files use or override a deprecated API.
   [INFO] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/java/org/apache/skywalking/apm/network/language/agent/MemoryPool.java:
 Recompile with -Xlint:deprecation for details.
   [INFO] -------------------------------------------------------------
   [ERROR] COMPILATION ERROR : 
   [INFO] -------------------------------------------------------------
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/v2/JVMMetricReportServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/TraceSegmentServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/v2/TraceSegmentReportServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/v2/CLRMetricReportServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/servicemesh/ServiceMeshMetricServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/register/v2/ServiceInstancePingGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/JVMMetricsServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/register/v2/RegisterGrpc.java:[23,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/NetworkAddressRegisterServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/ServiceNameDiscoveryServiceGrpc.java:[23,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/ApplicationRegisterServiceGrpc.java:[23,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [ERROR] 
/Volumes/Files/Study/skywalking/apm-protocol/apm-network/target/generated-sources/protobuf/grpc-java/org/apache/skywalking/apm/network/language/agent/InstanceDiscoveryServiceGrpc.java:[20,18]
 cannot find symbol
     symbol:   class Generated
     location: package javax.annotation
   [INFO] 12 errors 
   [INFO] -------------------------------------------------------------
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO] 
   [INFO] apm 6.2.0 .......................................... SUCCESS [  7.940 
s]
   [INFO] apm-commons ........................................ SUCCESS [  0.517 
s]
   [INFO] apm-util ........................................... SUCCESS [  6.084 
s]
   [INFO] apm-datacarrier .................................... SUCCESS [  3.052 
s]
   [INFO] apm-protocol ....................................... SUCCESS [  0.245 
s]
   [INFO] apm-network ........................................ FAILURE [ 11.123 
s]
   [INFO] apm-sniffer ........................................ SKIPPED
   [INFO] apm-agent-core ..................................... SKIPPED
   [INFO] apm-agent .......................................... SKIPPED
   ```
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to