How to solve java.lang.NoClassDefFoundError: com/google/cloud/http/HttpTransportOptions?

In this tutorial, we help you how to solve the error "java.lang.NoClassDefFoundError: com/google/cloud/http/HttpTransportOptions".
How to solve java.lang.NoClassDefFoundError: com/google/cloud/http/HttpTransportOptions

Getting the following error

java.lang.NoClassDefFoundError: com/google/cloud/http/HttpTransportOptions

How to fix

Adding Google Cloud Core HTTP (google-cloud-core-http) directly to your pom or add the "google-cloud-core-http-1.93.0.jar" to your project

<dependency>
    <groupid>com.google.cloud</groupid>
    <artifactid>google-cloud-core-http</artifactid>
    <version>1.93.0</version>
</dependency>

Latest
Next Post

post written by: