gRPC-Java入門筆記 原

環境:Windows,JDK8,Git,ProtoBuf3

從github下載gPRC-Java源碼

git clone -b v1.15.0 https://github.com/grpc/grpc-java

進入grpc-java下面的examples目錄

運行gradlew.bat

gradlew.bat installDist

運行成功後,啓動hello-world-server.bat

build/install/examples/bin/hello-world-server.bat

再運行hello-world-client.bat

build/install/examples/bin/hello-world-client.bat

出現如下信息表示成功

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章