Skip to content
New issue

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

how to build adservice #193

Closed
Frapschen opened this issue Jul 8, 2022 · 2 comments
Closed

how to build adservice #193

Frapschen opened this issue Jul 8, 2022 · 2 comments
Labels
question Further information is requested

Comments

@Frapschen
Copy link
Contributor

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) {

@Frapschen Frapschen added the question Further information is requested label Jul 8, 2022
@cijothomas
Copy link
Member

Same/duplicate of #77 (comment)

@cartersocha
Copy link
Contributor

I had an issue with the gradlew file. I had to change the file ending to unix lf. Is this similar or separate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants