类 类 说明 org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory useGenericApplicationContextFactory
insteadorg.springframework.batch.core.configuration.support.ClassPathXmlJobRegistry in version 2.1, please usAutomaticJobRegistrar
insteadorg.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer Due to the incompatibilities between current Jettison versions and XStream versions, this serializer is deprecated in favor ofJackson2ExecutionContextStringSerializer
org.springframework.batch.test.AbstractJobTests (from 2.1) useJobLauncherTestUtils
instead