jackson.databind no such method errors
most likely you have compiled your code against a different version of the class, than the one you are using when running it.
Please make sure that on the environment where you run the code there is no any other version of jackson-databind
dependency on your classpath.
finally solved the issue , I found that glassfish 4.1.1
has a very old version 2.3.2 of jackson-core
jackson-annotation
and jackson-databind
, so we decided to use Payara server that uses fairly latest version of jackson jackson 2.8.5 and tested the no such method error is solved, the code works fine in that Payara server
Update:
glassfish
version 5.0
uses updated version jackson 2.8.9
, I think using that will solve this issue too