criteo / criteo-api-java-sdk

1 stars 5 forks source link

Package compilation fails for retailmedia SDKs #11

Closed tibonihoo closed 1 year ago

tibonihoo commented 1 year ago

The common error referes to the import of the package providiing the JsonNullable class, with many occurence of errors similar to:

> Task :compileJava
/home/runner/work/criteo-api-java-sdk/criteo-api-java-sdk/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/model/ExternalPreferredLineItem202110.java:28: error: package org.openapitools.jackson.nullable does not exist
import org.openapitools.jackson.nullable.JsonNullable;
                                        ^
/home/runner/work/criteo-api-java-sdk/criteo-api-java-sdk/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/model/ExternalPreferredLineItem202110.java:631: error: cannot find symbol
  private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
                                            ^
  symbol:   class JsonNullable
  location: class ExternalPreferredLineItem202110

See also in https://github.com/criteo/criteo-api-java-sdk/actions/runs/5667340686/job/15355889031