I have an spring batch project which was working fine old version:
It stopped working when I upgraded version of all dependencies new versions:
Application log says:
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
The retry functionality was pulled out of Spring Batch as of 2.2.0. It is now part of a new library, Spring Retry.
but spring-batch-integration refers to older spring-batch and causing this error. class ChunkProcessorChunkHandler have import statement import org.springframework.batch.retry.RetryException;
I want to know how to overcome this error? and is there any plan for new version of spring-batch-integration.
We currently have a milestone for 1.3.0 that is available and should work with the 2.2.x branch. We're still working on timing for the 1.3.0 GA release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With