将spring batch升级到2.2.0后获取NoSuchMethodError

时间:2014-03-04 08:31:08

标签: spring-batch spring-batch-admin

升级后:

spring             4.0.2.RELEASE
spring batch       2.1.9.RELEASE
spring batch admin 1.2.2.RELEASE

启动spring batch admin时出现以下错误

Caused by: java.lang.NoSuchMethodError: org.springframework.batch.admin.service.JdbcSearchableJobInstanceDao.setJdbcTemplate(Lorg/springframework/jdbc/core/simple/SimpleJdbcOperations;)V

感谢任何帮助:(

1 个答案:

答案 0 :(得分:0)

这看起来已在spring batch admin 1.3中修复。请参阅here