【问题标题】:404 error on clicking job link on springbatch admin ui在 springbatch admin ui 上单击作业链接时出现 404 错误
【发布时间】:2014-06-27 07:06:24
【问题描述】:

我是 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!

【问题讨论】:

    标签: spring spring-batch spring-batch-admin


    【解决方案1】:

    请使用 Spring Batch admin (http://spring.io/blog/2014/07/28/spring-batch-admin-1-3-0-release-is-available) 的 1.3.0 release 版本。这现在应该适用于当前的 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/

    【讨论】:

      猜你喜欢
      • 2012-06-03
      • 2015-02-19
      • 1970-01-01
      • 2014-05-10
      • 2018-12-04
      • 2015-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多