title: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument
body: <p>I am trying to run this <a href="https://github.com/grpc/grpc-java/blob/master/examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java" rel="noreferrer">grpc-Java</a> example on my local. Corresponding proto file for the same is <a href="https://github.com/grpc/grpc-java/blob/master/examples/src/main/proto/helloworld.proto" rel="noreferrer">here</a>. When i try to run in on local it throws the following exception from <a href="https://github.com/grpc/grpc-java/blob/master/examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java#L52" rel="noreferrer">here</a> :</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
      at io.grpc.ServiceDescriptor.validateMethodNames(ServiceDescriptor.java:129)
      at io.grpc.ServiceDescriptor.&lt;init&gt;(ServiceDescriptor.java:83)
      at io.grpc.ServiceDescriptor.&lt;init&gt;(ServiceDescriptor.java:51)
      at io.grpc.ServiceDescriptor$Builder.build(ServiceDescriptor.java:219)
      at io.grpc.examples.helloworld.GreeterGrpc.getServiceDescriptor(GreeterGrpc.java:251)
      at io.grpc.examples.helloworld.GreeterGrpc$GreeterImplBase.bindService(GreeterGrpc.java:84)
      at io.grpc.internal.AbstractServerImplBuilder.addService(AbstractServerImplBuilder.java:125)
      at io.grpc.internal.AbstractServerImplBuilder.addService(AbstractServerImplBuilder.java:63)
      at com.cw.predictive.HelloWorldServer.start(HelloWorldServer.java:56)
      at com.cw.predictive.HelloWorldServer.main(HelloWorldServer.java:92)
  </code></pre>
  
  <p>This is my pom.xml as mentioned <a href="https://github.com/grpc/grpc-java" rel="noreferrer">here</a> :</p>
  
  <pre><code> &lt;dependencies&gt;
           &lt;dependency&gt;
            &lt;groupId&gt;io.grpc&lt;/groupId&gt;
            &lt;artifactId&gt;grpc-netty&lt;/artifactId&gt;
            &lt;version&gt;1.1.2&lt;/version&gt;
          &lt;/dependency&gt;
  
        &lt;dependency&gt;
          &lt;groupId&gt;io.grpc&lt;/groupId&gt;
          &lt;artifactId&gt;grpc-protobuf&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;/dependency&gt;
  
        &lt;dependency&gt;
          &lt;groupId&gt;io.grpc&lt;/groupId&gt;
          &lt;artifactId&gt;grpc-stub&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
  </code></pre>