Skywalking: org.apache.skywalking.apm.network.common.v3

Created on 5 Jun 2020  ·  8Comments  ·  Source: apache/skywalking

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ √] Question or discussion
  • [ ] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Question

  • What do you want to know?
    程序包org.apache.skywalking.apm.network.common.v3不存在

真的没有办法了,按照文档编译一直失败。

确认找不到这个jar包,我看到相同的issues已经有好些了,请不要回复看文档了,好吗?


Bug

  • Which version of SkyWalking, OS and JRE?

  • Which company or project?

  • What happen?
    If possible, provide a way for reproducing the error. e.g. demo application, component version.


Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
wontfix

Most helpful comment

image

Setup your IntelliJ IDEA

NOTICE: If you clone the codes from GitHub, please make sure that you had finished step 1 to 3 in section Build from GitHub, if you download the source codes from the official website of SkyWalking, please make sure that you had followed the steps in section Build from Apache source code release.

  1. Import the project as a maven project
  2. Run ./mvnw compile -Dmaven.test.skip=true to compile project and generate source codes. Because we use gRPC and protobuf.
  3. Set Generated Source Codes folders.

    • grpc-java and java folders in apm-protocol/apm-network/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-core/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-receiver-plugin/receiver-proto/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/exporter/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-configuration/grpc-configuration-sync/target/generated-sources/protobuf

    • antlr4 folder in oap-server/oal-grammar/target/generated-sources

All 8 comments

环境:windows
apache-maven:3.6.0
npm:6.13.4
node:10.16.0

image

Setup your IntelliJ IDEA

NOTICE: If you clone the codes from GitHub, please make sure that you had finished step 1 to 3 in section Build from GitHub, if you download the source codes from the official website of SkyWalking, please make sure that you had followed the steps in section Build from Apache source code release.

  1. Import the project as a maven project
  2. Run ./mvnw compile -Dmaven.test.skip=true to compile project and generate source codes. Because we use gRPC and protobuf.
  3. Set Generated Source Codes folders.

    • grpc-java and java folders in apm-protocol/apm-network/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-core/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-receiver-plugin/receiver-proto/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/exporter/target/generated-sources/protobuf

    • grpc-java and java folders in oap-server/server-configuration/grpc-configuration-sync/target/generated-sources/protobuf

    • antlr4 folder in oap-server/oal-grammar/target/generated-sources

English only. Make sure you download the source code though the right way. Git clone or website only.

分享一下我可能出错的原因:
1.先克隆的项目,然后把项目导入到IDEA中,加载完成后我激活了“Maven自动导入功能”。
IDEA开始处理mvn自动导入。
2.然后我执行的git submodule initgit submodule update
3.我运行着两个git命令,控制台无任何输出
4.最后执行 mvn clean package -DskipTests就报错了,提示找不到jar包

我现在重新clone项目,导入IDEA的时候,选择不启动IDEA的“Maven自动导入功能”后,就运行成功了。
希望可以帮助部分人。

您说的选择不启动IDEA的“Maven自动导入功能”,是指取消如下设置吗?我按照您说的操作,还是报错,要崩溃了┭┮﹏┭┮
image

您说的选择不启动IDEA的“ Maven自动导入功能”,是指取消如下设置吗?我按照您说的操作,还是报错,要崩溃了┭┮﹏┭┮
图片

你执行git submodule initgit submodule update的时候,控制台有输出内容吗?

I suspect you are caused by the fact that the proto package has not been downloaded, you can try to download again, with a git address: [email protected]:apache/skywalking-data-collect-protocol.git

您说的选择不启动IDEA的“ Maven自动导入功能”,是指取消如下设置吗?我按照您说的操作,还是报错,要崩溃了┭┮﹏┭┮
图片

你执行git submodule initgit submodule update的时候,控制台有输出内容吗?

和IDE的设置没有关联,要实地按照操作说明来

会有遇到问题,可参考 https://gitee.com/vic_1_499636487/zero2nine/tree/master/skywalking

Was this page helpful?
0 / 5 - 0 ratings