Skip to content

When running gitlab API after upgrade to spring boot 3.0.2 (with the latest dependencies), gitlab initialization fails #918

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

Closed
serleonsolo2 opened this issue Feb 23, 2023 · 2 comments

Comments

@serleonsolo2
Copy link

serleonsolo2 commented Feb 23, 2023

The error is as follows:

Location:
org/gitlab4j/api/GitLabApiClient.createApiClient()Ljavax/ws/rs/client/Client; @18: invokevirtual
Reason:
Type 'org/glassfish/jersey/client/JerseyClientBuilder' (current frame, stack[0]) is not assignable to 'javax/ws/rs/client/ClientBuilder'

Could you plz help at least with workarround

I am using the latest version:

<groupId>org.gitlab4j</groupId>
artifactId>gitlab4j-api</artifactId>
version>5.0.1</version>
@serleonsolo2
Copy link
Author

serleonsolo2 commented Feb 23, 2023

see, that you already working on migrate to jakarta and spring boot 3

@jmini
Copy link
Collaborator

jmini commented Jan 10, 2025

See the version 6.x.x where we moved to the jakarta.* namespace (to have a compatibility with SpringBoot 3 or Quarkus 3).

See #947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants