-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoClassDefFoundError for TimeConversionUtils after Upgrading to Quarkus LTS v3.15.0 and Pubsub v2.12.1 #684
Comments
I forcibly updated the com.google.api:gax dependency in my project by specifying the version directly in the pom.xml file with the following configuration:
This update resolved the issue described above. However, I'm unclear why the com.google.api:gax:jar was initially set to version |
Hi this dependency is not set to 2.49.0 manually in this repo, there must be a dependency divergence issue somewhere. |
Hi @loicmathieu 2.49.0 comes from Also the
But it is strange |
Dependency convergence are a little more complex than that, something else in the dependency tree makes Maven resolve it to the wrong version. |
@iqnev I updated to Quarkus 3.16 and checked, and it is correctly resolved to the right version. Some dependency divergence should exist in Quarkus 3.15. |
Hello,
I've recently upgraded our project from Quarkus version
3.8.5
to the latest LTS version3.15.0
. Additionally, I updatedio.quarkiverse.googlecloudservices:quarkus-google-cloud-pubsub
to its latest version,v2.12.1
.During application testing, I encountered the following error indicating a missing class:
It seems that the class TimeConversionUtils is not available in the
com.google.api.gax.util package
.Additionally, in the process of upgrading, the google-cloud-sdk dependency was updated from version
26.43.0
to26.45.0
in this PR https://github.com/quarkiverse/quarkus-google-cloud-services/pull/667/filesFrom this upgrade, google-cloud-pubsub was updated to
1.132.1
, but the dependency tree still showscom.google.cloud:google-cloud-pubsub:jar:1.130.1
undergoogle-cloud-pubsub:jar:2.12
. Here is a snippet of the relevant part of the dependency tree:Could this be a mismatch or an outdated dependency causing the issue? Any suggestions on how to resolve this error would be highly appreciated!
Thank you for your help!
The text was updated successfully, but these errors were encountered: