重新启动数据库后,Spring Batch应用程序需要重新部署

时间:2019-12-05 11:57:18

标签: java spring-batch

我有一个Spring Batch应用程序(它与Rabbit MQ Messenger一起用作主从设备),在重新启动DB之前,它可以正常运行。

数据库重新启动后,出现错误

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

请对此提供帮助。

1 个答案:

答案 0 :(得分:0)

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>