|
The issue here is that we use @JsonValue which is Jackson 1 annotation,
but WildFly 8.1 (as opposed to 8.0) comes with Jackson 2 as default JAX-RS JSON-serialization provide: https://community.jboss.org/wiki/WildFly810FinalReleaseNotes
Since JBoss AS 7.1.1, EAP 6.3, WildFly 8.0 and WildFly 8.1 all bundles Jackson 1 provider, I suggest to use Jackson 1 provider (non-default) also in WildFly 8.1 - that will help us unification.
The provider can be switched using different modules in jboss-deployment-structure.xml, similarly as in... http://docs.jboss.org/resteasy/docs/3.0-beta-5/userguide/html/json.html#d4e1030
|