use the correct classLoader from jobContext instead of the classLoader of the current bean class; rename JsonFactoryObjectFactory to NonmappingJsonFactoryObjectFactory.