I configure a step in XML like this:
You need to build up a FaultTolerantStepBuilder using StepBuilder.faultTolerant method.
FaultTolerantStepBuilder
StepBuilder.faultTolerant
return stepBuilder() .chunk() .faultTolerant() .skip(MyException.class) .skipLimit(100000) .build()