-
Notifications
You must be signed in to change notification settings - Fork 769
Open
Description
Describe the bug
I am trying to use the project along with Jackson 2.20.1 but it fails at runtime with the following issue while creating the mapper
Exception in thread "main" java.lang.NoSuchFieldError: Class com.fasterxml.jackson.databind.PropertyNamingStrategy does not have member field 'com.fasterxml.jackson.databind.PropertyNamingStrategy SNAKE_CASE'
at org.kohsuke.github.GitHubClient.<clinit>(GitHubClient.java:98)
To Reproduce
Steps to reproduce the behavior:
- Configure a project and add Jackson 2.20.1 to the classpath
- Try to create a new client
Expected behavior
The client is created
Actual behavior
It fails because it cannot find PropertyNamingStrategy SNAKE_CASE which no longer exists
Desktop (please complete the following information):
- Version: 2.0-rc.5
Additional context
Usage:
| MAPPER.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); |
This feature was dropped in Jackson 2.20. Using Jackson 2.19.4 works for now but it is not a long term solution
Metadata
Metadata
Assignees
Labels
No labels