Client is not compatible with Jackson 2.20+
Describe the bug https://github.com/ActiveCampaign/postmark-java/blob/f8a36202fb8fedc5be779bfa9326743088605e81/src/main/java/com/postmarkapp/postmark/client/data/parser/DataHandler.java#L20
java.lang.NoSuchFieldError: Class com.fasterxml.jackson.databind.PropertyNamingStrategy does not have member field 'com.fasterxml.jackson.databind.PropertyNamingStrategy UPPER_CAMEL_CASE'
at com.postmarkapp.postmark.client.data.parser.DataHandler.<init>(DataHandler.java:20)
at com.postmarkapp.postmark.client.data.parser.DataHandler.<init>(DataHandler.java:25)
at com.postmarkapp.postmark.client.HttpClientHandler.<init>(HttpClientHandler.java:20)
at com.postmarkapp.postmark.client.BaseApiClient.<init>(BaseApiClient.java:18)
at com.postmarkapp.postmark.client.ApiClient.<init>(ApiClient.java:55)
at com.postmarkapp.postmark.Postmark.getApiClient(Postmark.java:62)
PropertyNamingStrategy is deprecated and replaced with PropertyNamingStrategies
There are many other dependencies in this library which are several years out of date, including some with security issues. This project unfortunately seems abandoned.
running into the same issue
added a PR: https://github.com/ActiveCampaign/postmark-java/pull/73/files
response that i got from postmark customer support on this
Such answer is a shame. While it's not a bug, not maintaining a library can open vulnerabilities ; that would have severe impacts too. Thank you for trying, offering the immediate solution through a PR.