0

我是springbatch的新手。我正在尝试创建一个批处理应用程序并与批处理管理 ui 集成。我使用的版本是 spring-batch-2.2.7 和 spring-batch-admin-1.3.0.M1。我可以使用 junit 运行我的工作,还可以在管理 ui 上查看我的所有工作。当我单击作业时,我收到 404 错误。

Home Page - 
http://myServer/ApplicationName
List of jobs link - 
http://myServer/ApplicationName/batch/jobs

When i click on the job link url is missing 'batch' in the url.
http://myServer/ApplicationName/jobs/JOBNAME

Can anyone please help me resolve this issue? Thanks!
4

1 回答 1

0

请使用 spring batch admin 的 1.3.0 release 版本(http://spring.io/blog/2014/07/28/spring-batch-admin-1-3-0-release-is-available)。这现在应该适用于当前的 spring 批处理版本(2.2.x 和 3.0.x)。我使用 Spring Batch 版本 3.0.1 成功测试了这一点。

还有一个很好的起点来配置spring batch admin和spring boot:https ://blog.codecentric.de/en/2014/08/spring-batch-admin-spring-boot-2/

于 2014-08-07T22:26:51.447 回答