我有一个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
请对此提供帮助。
答案 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>