gpt4 book ai didi

java - Spring批处理应用程序需要在数据库重启后重新部署

转载 作者:行者123 更新时间:2023-12-01 19:37:58 25 4
gpt4 key购买 nike

我有一个 Spring Batch 应用程序(它作为带有 Rabbit MQ 信使的主从),在数据库重新启动之前工作得很好。

数据库重新启动后,我收到错误,

com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.NoClassDefFoundError: org/springframework/core/JdkVersion

请帮忙解决这个问题。

最佳答案

As I know , you need to upgrade your dependency version to solve this problem.
I will update the jar name and version tomorrow cause I am home now.
please try this version or more latest
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.3.RELEASE</version>
<type>pom</type>
</dependency>

关于java - Spring批处理应用程序需要在数据库重启后重新部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59194623/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com