Announcement Announcement Module
No announcement yet.
Error using TaskletStep Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error using TaskletStep

    Hi All,

    I am using the below entries in the application context.

    <batch:job id="buildJob" job-repository="jobRepository" restartable="true">
    <batch:step id="callBuildProc">
    <batch:tasklet ref="buildProductTasklet"/>

    If i use the ref attribute in the tasklet tag i am gettin the below error.

    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.beans.factory.config.CustomEd itorConfigurer': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedEx ception: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.Class] to required type [java.lang.String] for property 'customEditors[org.springframework.batch.item.file.transform.Rang e[]]': no matching editors or conversion strategy found
    at AutowireCapableBeanFactory.doCreateBean(AbstractAu
    at AutowireCapableBeanFactory.createBean(AbstractAuto
    at BeanFactory$1.getObject( 89)
    at ingletonBeanRegistry.getSingleton(DefaultSingleton

    Can anybody please help