Created by: jmini
Follow up of PR #3474: The new dependency org.openapitools:jackson-databind-nullable
is missing in the gradle file.
To reproduce the issue:
In samples/client/petstore/java/jersey2
run: ./gradlew build
(you might need chmod +x
before, see #3792)
Log:
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:6: error: package org.openapitools.jackson.nullable does not exist
import org.openapitools.jackson.nullable.JsonNullableModule;
^
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:31: error: cannot find symbol
JsonNullableModule jnm = new JsonNullableModule();
^
symbol: class JsonNullableModule
location: class JSON
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:31: error: cannot find symbol
JsonNullableModule jnm = new JsonNullableModule();
^
symbol: class JsonNullableModule
location: class JSON
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
1 warning
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 10.147 secs
This PR adds the requested dependency.