copy jar into the old module and than open module.xml and update reference to point to new jar
I am not sure what you mean. This is for a maven project and I do not have a module.xml file.
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?
The error that I am getting is when I call the following line:
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: