opentelemetry-demo
opentelemetry-demo copied to clipboard
how to build adservice
Question
I run the ./gradlew installDist
and get errors:
> Task :compileJava FAILED
/Users/fraps/daocloud/github-code/opentelemetry-demo-webstore/src/adservice/src/main/java/hipstershop/AdServiceClient.java:34: 错误: 程序包hipstershop.AdServiceGrpc不存在
private final hipstershop.AdServiceGrpc.AdServiceBlockingStub blockingStub;
^
/Users/fraps/daocloud/github-code/opentelemetry-demo-webstore/src/adservice/src/main/java/hipstershop/AdService.java:135: 错误: 找不到符号
private static final ImmutableListMultimap<String, Ad> adsMap = createAdsMap();
^
符号: 类 Ad
位置: 类 AdService
/Users/fraps/daocloud/github-code/opentelemetry-demo-webstore/src/adservice/src/main/java/hipstershop/AdService.java:138: 错误: 找不到符号
private Collection<Ad> getAdsByCategory(@SpanAttribute("app.ads.category") String category) {
Same/duplicate of https://github.com/open-telemetry/opentelemetry-demo-webstore/issues/77#issuecomment-1176453153
I had an issue with the gradlew file. I had to change the file ending to unix lf. Is this similar or separate?