Project: springxd
Issue XD-1470: Rationalize inclusion of JSON jars in xd/lib and in modules
To avoid CL conflicts, a short term solution to this problem is to make sure that there is only one copy of jackson related classes and have them live in xd/lib. using jackson-core-2.3.2.jar jackson-databind-2.3.2.jar jackson-core-asl-1.9.13.jar jackson-mapper-asl-1.9.13.jar are the latest versions and the ones to use. There maybe other libraries that we duplicate in the same manner, we will need to investigate as well as part of another issue. Typical error is: java.lang.LinkageError: loader constraint violation: when resolving method "org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.setObjectMapper(Lcom/fasterxml/jackson/databind/ObjectMapper;)V" the class loader (instance of org/springframework/xd/module/support/ParentLastURLClassLoader) of the current class, org/springframework/social/twitter/api/impl/TwitterTemplate, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, org/springframework/http/converter/json/MappingJackson2HttpMessageConverter, have different Class objects for the type com/fasterxml/jackson/databind/ObjectMapper used in the signature
Story points: 3