Jackson Error : No such method com.fasterxml.jackson.core.JsonGenerator.setCurrentValue(Ljava/lang/Object;)V Jackson Error : No such method com.fasterxml.jackson.core.JsonGenerator.setCurrentValue(Ljava/lang/Object;)V json json

Jackson Error : No such method com.fasterxml.jackson.core.JsonGenerator.setCurrentValue(Ljava/lang/Object;)V


I don't know which version of jackson your libraries require.

If they all require 1.9.x, then remove the dependency on Jackson2 and only leave the dependency on Jackson 2.

If they all depend on Jackson 2, then remove the dependency on Jackson 1.9 and leave the dependency on Jackson 2.

If some depend on Jackson 1 and some others depend on Jackson 1, then you'll have to remove one of these dependencies, because they're incompatible with each other.

Spring can use 1.x or 2.x, but not both at once.


The problem seems to be with the version of jackson versions used in the pom.xml.

please refer ,Jackson Json and no such method errors