Skip to content
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

[BUG][Java]: "InjectionManagerFactory not found" issue for Jersey2 #3156

Closed
5 of 6 tasks
saigiridhar21 opened this issue Jun 14, 2019 · 0 comments · Fixed by #3153
Closed
5 of 6 tasks

[BUG][Java]: "InjectionManagerFactory not found" issue for Jersey2 #3156

saigiridhar21 opened this issue Jun 14, 2019 · 0 comments · Fixed by #3153

Comments

@saigiridhar21
Copy link
Contributor

saigiridhar21 commented Jun 14, 2019

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • What's the version of OpenAPI Generator used?
  • Have you search for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Bounty to sponsor the fix (example)
Description

Jersey2 client is relying on jersey-client dependency of 2.27 version. After jersey-client 2.26 version, hk2 which is a hard dependency of Jersey-client was removed. They created an SPI as a facade for the dependency injection provider, in the form of the InjectionManager and InjectionManagerFactory. So for Jersey to run, we need to have an implementation of the InjectionManagerFactory. More details are available here(https://stackoverflow.com/a/51217530/3044493).

openapi-generator version

4.0.1

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant