title: Bean property 'feedId' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
body: <p>Below is code Batch snippet:
  XML :
      
          &lt;/beans:property> -->
          
      </p>
  
  <pre><code>&lt;beans:bean id="RDFieldSetMapper" class="in.gov.tds.batch.mapper.RDFieldSetMapper"
      autowire="byName" scope="step"&gt;
      &lt;!-- &lt;beans:property name="feedId" value="429717"&gt;&lt;/beans:property&gt; --&gt;
      &lt;beans:property name="feedId" value="#{jobParameters[feedId]}"&gt;&lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  </code></pre>
  
  <p>setter method in Java Class:</p>
  
  <p>recordDetail.setFeedId(new Long(feedId));</p>
  
  <p>Please provide the resolution as I am getting Invalid setter method.</p>
  
  <p>More Mapper detail:
  public class RDFieldSetMapper implements FieldSetMapper {</p>
  
  <pre><code>private Long feedId;
  private int batchCounter;
  
  @Override
  public RecordDetail mapFieldSet(FieldSet fieldSet) throws BindException {
      if (LOGGER.isDebugEnabled())
          LOGGER.debug("Record Detail Mapper:-- " + " " + fieldSet);
  
      RecordDetail recordDetail = new RecordDetail();
  
      // feedId = FeedReader.feedId;
      recordDetail.setFeedId(new Long(feedId));
      }
  </code></pre>
  
  <p>}</p>