cooze / grpc-demo Goto Github PK
View Code? Open in Web Editor NEW该工程为grpc java 版本的 demo工程,主要是介绍如何使用grpc建立服务
该工程为grpc java 版本的 demo工程,主要是介绍如何使用grpc建立服务
[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile-custom (default) on project grpc-demo: Missing:
[ERROR] ----------
[ERROR] 1) io.grpc:protoc-gen-grpc-java:exe:osx:1.0.0
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.0.0 -Dclassifier=osx -Dpackaging=exe -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.0.0 -Dclassifier=osx -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.cooze.grpc:grpc-demo:jar:1.0-SNAPSHOT
[ERROR] 2) io.grpc:protoc-gen-grpc-java:exe:osx:1.0.0
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project grpc-demo: Compilation failure: Compilation failure:
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/HelloReply.java:[29,7] cannot find symbol
[ERROR] symbol: class UnusedPrivateParameter
[ERROR] location: class org.cooze.grpc.entity.HelloReply
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/Account.java:[26,7] cannot find symbol
[ERROR] symbol: class UnusedPrivateParameter
[ERROR] location: class org.cooze.grpc.entity.Account
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/AccountResponse.java:[26,7] cannot find symbol
[ERROR] symbol: class UnusedPrivateParameter
[ERROR] location: class org.cooze.grpc.entity.AccountResponse
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/HelloRequest.java:[29,7] cannot find symbol
[ERROR] symbol: class UnusedPrivateParameter
[ERROR] location: class org.cooze.grpc.entity.HelloRequest
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/HelloReply.java:[26,3] method does not override or implement a method from a supertype
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/Account.java:[23,3] method does not override or implement a method from a supertype
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/AccountResponse.java:[23,3] method does not override or implement a method from a supertype
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/HelloRequest.java:[26,3] method does not override or implement a method from a supertype
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/entity/EntityProto.java:[56,7] no suitable method found for internalBuildGeneratedFileFrom(java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor[])
[ERROR] method com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(java.lang.String[],java.lang.Class<?>,java.lang.String[],java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /Users/jinliujie/amazing-code/grpc-demo/target/generated-sources/protobuf/java/org/cooze/grpc/service/ServiceProto.java:[39,7] no suitable method found for internalBuildGeneratedFileFrom(java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor[])
[ERROR] method com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(java.lang.String[],java.lang.Class<?>,java.lang.String[],java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.