java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument

前端 未结 1 636
刺人心
刺人心 2020-12-04 01:21

I am trying to run this grpc-Java example on my local. Corresponding proto file for the same is here. When i try to run in on local it throws the following exception from he

相关标签:
1条回答
  • 2020-12-04 02:05
    **Please add following dependencies in your project.**
    <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>23.6-jre</version>
    </dependency> 
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore</artifactId>
        <version>4.4.8</version>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题