Skip to content

How do I execute the examples? #10

Description

@kun-zhou

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions