Announcement Announcement Module
No announcement yet.
exception in postProcessAfterInitialization within spring batch Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • exception in postProcessAfterInitialization within spring batch


    I was seeing error while launching the spring batch application. In the application context, I am defining a bean which has postProcessAfterInitialization method. This bean class is a third party class and cannot change it. But this bean is somehow throwing an exception in the method postProcessAfterInitialization.

    If I use this bean in a normal spring application it is not completely exiting, but throwing error and going ahead with the rest of the beans creation. If I use this with the spring batch application, bean creation is throwing the error and failing the application.

    Is there any property that we can set to ignore the errors in the method postProcessAfterInitialization for any beans while using spring batch?

    Thanks in advance.

  • #2
    Why type of exception is it?