java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V


Solutions on the web5

Solution icon of stackoverflow
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

Solution icon of github
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

Solution icon of github
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

Solution icon of github
via GitHub by MarcMagnin
, 6 months ago
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

Solution icon of github
via GitHub by magg
, 7 months ago
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

Stack trace

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.<init>(ServiceDescriptor.java:83)
	at io.grpc.ServiceDescriptor.<init>(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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.