Hey Naman,
This type of error seems to suggest that there might be a conflict between the versions of products’ dependencies. A similar error was reported here[0 – although for BigQuery and Dataflow] and the issue seems to point to the conflict between the product dependencies’ versions.
To be able to assist you on this issue, we may require seeing your code implementation. In that case, I will suggest that you post your code and this error on Stackoverflow. You will get better code support from our GCP Support Engineers and other Developers on Stackoverflow.
In the meantime, perhaps you may consider using these dependencies (Gradle dependencies) for Cloud Storage[1], depending on your setup and use-case:
implementation platform('com.google.cloud:libraries-bom:24.4.0')
implementation 'com.google.cloud:google-cloud-storage'
If the above dependencies do not work for your use-case, I suggest that you take a look into the documentation for Cloud Storage from Spring[2]. You will also find a link to a sample application on Github[3] at the bottom of that link[2] where the dependency used is: implementation("org.springframework.cloud:spring-cloud-gcp-starter-storage")
[1]https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-java
[2]https://docs.spring.io/spring-cloud-gcp/docs/current/reference/html/storage.html