Reports Spring Batch XML-based application context issues:

Example:


  <beans ... >
  <batch:job id="" <!-- Value must not be empty -->
    incrementer="dummyBean"  <!-- Bean must be of 'org.springframework.batch.core.JobParametersIncrementer' type -->
    job-repository="transactionManager"  <!-- Bean must be of 'org.springframework.batch.core.repository.JobRepository' type -->
    parent="INVALID_VALUE" <!-- Cannot resolve job INVALID_VALUE -->
    restartable="INVALID_VALUE"> <!-- Cannot resolve symbol INVALID_VALUE -->
    <batch:validator
      ref="dataSource">  <!-- Bean must be of 'org.springframework.batch.core.JobParametersValidator' type -->
    </batch:validator>
  </batch:job>
  <batch:job-repository/>

  <bean id="dataSource" class="org.springframework.jdbc.datasource.DelegatingDataSource"/>
  <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"/>

  <bean id="dummyBean" class="java.lang.String"/>
</beans>