com.esotericsoftware.kryo.KryoException: Buffer underflow.
at com.esotericsoftware.kryo.io.Input.require(Input.java:199)
at com.esotericsoftware.kryo.io.Input.readVarInt(Input.java:373)
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:127)
at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:670)
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781)
at org.springframework.statemachine.kryo.StateMachineContextSerializer.read(StateMachineContextSerializer.java:59)
at org.springframework.statemachine.kryo.StateMachineContextSerializer.read(StateMachineContextSerializer.java:38)
at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:686)
at org.springframework.statemachine.redis.RedisStateMachineContextRepository.deserialize(RedisStateMachineContextRepository.java:107)
at org.springframework.statemachine.redis.RedisStateMachineContextRepository.getContext(RedisStateMachineContextRepository.java:78)
at org.springframework.statemachine.persist.RepositoryStateMachinePersist.read(RepositoryStateMachinePersist.java:51)
at org.springframework.statemachine.persist.RepositoryStateMachinePersist.read(RepositoryStateMachinePersist.java:31)
at org.springframework.statemachine.persist.AbstractStateMachinePersister.restore(AbstractStateMachinePersister.java:70)
在我的项目中使用的maven依赖是
<dependency>
<groupId>org.springframework.statemachine</groupId>
<artifactId>spring-statemachine-redis</artifactId>
<version>1.2.14.RELEASE</version>
</dependency>
有没有人面对这个问题并知道解决这个问题的方法?
暂无答案!
目前还没有任何答案,快来回答吧!