-
1. Re: Deploying to JBoss with latest version of Jackson
ctomc Sep 27, 2017 1:45 PM (in response to nmcgover)copy jar into the old module and than open module.xml and update reference to point to new jar
-
2. Re: Deploying to JBoss with latest version of Jackson
nmcgover Sep 27, 2017 1:49 PM (in response to ctomc)I am not sure what you mean. This is for a maven project and I do not have a module.xml file.
-
3. Re: Deploying to JBoss with latest version of Jackson
jaikiran Sep 28, 2017 4:04 AM (in response to nmcgover)As far as I know, WildFly doesn't force/expose Jackson module on the deployments, so you should just be able to package a Jackson library version of your own in the .ear/lib or .war/WEB-INF/lib of your application and use it in a way you want to.
If you are running into issues doing that, can you paste the entire exception stacktrace that you see, the snippet of the code from your application which triggers this and the exact version of WildFly that you are using?
-
4. Re: Deploying to JBoss with latest version of Jackson
nmcgover Sep 28, 2017 10:22 AM (in response to jaikiran)The error that I am getting is when I call the following line:
mapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
and the error that is thrown is:
13:18:26,170 ERROR java.lang.NoSuchFieldError: SNAKE_CASE
I am using WildFly Core 2.1.15.Final-redhat-1
And this is my jboss-deployment-structure.xml:
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="com.fasterxml.jackson.core.databind"/>
</exclusions>
</deployment>
</jboss-deployment-structure>