gresrun / jesque

An implementation of Resque in Java.
http://gresrun.github.io/jesque
Apache License 2.0
628 stars 131 forks source link

jackson databind 2.9 includes a breaking change #137

Closed maladon closed 5 years ago

maladon commented 6 years ago

Jackson databind DeserializationConfig in 2.9 does not have a with() that has DateFormat included. This call is attempted in ObjectMapper's static initializer. This breaks anyone with more recent Spring versions.

2.9: http://fasterxml.github.io/jackson-databind/javadoc/2.9/com/fasterxml/jackson/databind/DeserializationConfig.html

2.8: http://fasterxml.github.io/jackson-databind/javadoc/2.8/com/fasterxml/jackson/databind/DeserializationConfig.html

xhliu commented 6 years ago

I'm experiencing this issue with Spring 2.0.3.RELEASE. How to fix it?

husnjak commented 5 years ago

I fixed it by forking and creating a new release here is my fork: https://github.com/husnjak/jesque

I used jitpack to download the jar using gradle: https://jitpack.io/#husnjak/jesque/2.1.2-hus

dependencies {
    compile 'com.github.husnjak:jesque:2.1.2-hus'
}
bbpennel commented 5 years ago

It looks like this was addressed on master about 5 months ago https://github.com/gresrun/jesque/blame/master/src/main/java/net/greghaines/jesque/json/ObjectMapperFactory.java#L36 Are there plans to do an official release soon?

rteabeault commented 5 years ago

I am having this issue as well. Can we get a public release of this fix?

gresrun commented 5 years ago

Version 2.1.3 should be on Maven Central in a few hours.