Closed armran closed 6 months ago
直接拉取后,idea不报错,但运行提示:
boot-admin\commons\common-opentelemetry\opentelemetry-configuration\src\main\java\com\hb0730\opentelemetry\autoconfigure\rpc\OpenTelemetrySofaRpcAutoConfiguration.java:3:36 java: 程序包com.hb0730.opentelemetry.rpc不存在
请先mvn clean -DskipTests=true package
或者修改opentelemetry-configuration/pom.xml
中的
<dependency>
<groupId>com.hb0730</groupId>
<artifactId>opentelemetry-rpc</artifactId>
<version>${revision}</version>
<optional>true</optional>
</dependency>
改为
<dependency>
<groupId>com.hb0730</groupId>
<artifactId>opentelemetry-rpc</artifactId>
<version>${revision}</version>
</dependency>
删除 <optional>true</optional>
直接拉取后,idea不报错,但运行提示:
boot-admin\commons\common-opentelemetry\opentelemetry-configuration\src\main\java\com\hb0730\opentelemetry\autoconfigure\rpc\OpenTelemetrySofaRpcAutoConfiguration.java:3:36 java: 程序包com.hb0730.opentelemetry.rpc不存在