使用Spring Data Redis注入redisTemplate时,出现以下错误:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisTemplate' defined in com.worktime.configure.JpaConfigurationTest: Invocation of init method failed; nested exception is java.lang.NoSuchMethodEr
随机的“流的意外结束”异常。服务器上的负载(AWS弹性缓存)是最小的。当时客户端有大量的负载,但例外情况并不总是发生。at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_73]
at org.apache.tomcat.util.threads.TaskThread$Wrap