I'm trying to instantiate the Java API client, as mentioned in the documentation:
ApiClient apiClient = Configuration.getDefaultApiClient();
When I call this, I get the following exception:
java.lang.NoClassDefFoundError: org/threeten/bp/temporal/TemporalAccessor
at com.launchdarkly.api.JSON.<init>(JSON.java:49)
at com.launchdarkly.api.ApiClient.init(ApiClient.java:125)
at com.launchdarkly.api.ApiClient.<init>(ApiClient.java:85)
at com.launchdarkly.api.Configuration.<clinit>(Configuration.java:18)
I'm referencing a local copy of the JAR file downloaded from Maven's repository (
https://search.maven.org/artifact/com.launchdarkly/api-client/6.0.0/jar ). Is it not possible to reference the Java API client in this fashion?