We're having an issue when using jackson-databind in a JBoss EAP environment. We usually deploy to Tomcat 8, which works flawlessly. Jackson it self deserializes objects normally, however when:
mapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
is executed we receive this error:
13:18:26,170 ERROR java.lang.NoSuchFieldError: SNAKE_CASE
I paraphrased the error quite a bit, but it seems that JBoss cannot find the jackson-databind dependency. We verified that the class is indeed in the deployed WAR file. This is what we have in our POM:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.8.9</version>
</dependency>
When we copy the Java class into our code base, it works flawlessly on JBoss but that is obviously not ideal. Has anyone seen JBoss not find a dependency before?