OpenAPITools / OpenAPITools/openapi-generator

[BUG][JAVA] JACKSON nullable package does not exist

Open
#22,619 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

The dependencies for these imports are in modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/pom.mustache. However, we are using modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/pom.mustache. Ideally, they should be present in every module, but since they are missing in the Open Liberty module, we cannot access the imports, resulting in the ‘JACKSON nullable package does not exist’ error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/pom.mustache with modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/openliberty/pom.mustache, focusing on the dependencies needed for the reported Jackson nullable imports. Generate or inspect an Open Liberty project to confirm the imports are accessible and the package error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.