grpc-by-example-java icon indicating copy to clipboard operation
grpc-by-example-java copied to clipboard

How do I execute the examples?

Open kun-zhou opened this issue 7 years ago • 0 comments

Attempting to execute both the client and server of the error handling example. I packaged the parent app, and successfully executed it with mvn exec:java -Dexec.mainClass="com.example.grpc.server.ErrorGrpcServer" . However, I cannot package the client app by running mvn package in the directory error-handling-example/error-handling-client due to the error

[ERROR] Failed to execute goal on project error-handling-client: Could not resolve dependencies for project com.example.errors:error-handling-client:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.example.errors:error-server:jar:1.0-SNAPSHOT:

I also tried to execute mvn package at parent project root, i.e. error-handling-example/, but it didn't help.

kun-zhou avatar Jul 11 '18 21:07 kun-zhou