san*_*eep 3 java spring spring-integration spring-batch
我有一个春季批量项目,它正在运行良好的旧版本:
当我升级所有依赖项新版本的版本时,它停止工作:
应用程序日志说:
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.integration.config.ServiceAct ivatorFactoryBean#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/batch/retry/RetryException
Run Code Online (Sandbox Code Playgroud)
从2.2.0开始,重试功能从Spring Batch中撤出.它现在是Spring Retry新库的一部分.但是spring-batch-integration是指较旧的spring-batch并导致此错误.class ChunkProcessorChunkHandler有import语句import org.springframework.batch.retry.RetryException;
我想知道如何克服这个错误?是否有任何新版本的spring-batch-integration的计划.
| 归档时间: |
|
| 查看次数: |
503 次 |
| 最近记录: |