easy to click on the wrong spot: Errors caused by the spring version too low
"Environment Parameters"
Redis version: Redis-2.4.5-win32-win64
Spring Original version: 4.1.7.RELEASE
Spring Modified version: 4.2.6.RELEASE
"Description of the barrier"
Question:nosuchmethoderror
Invocation of Init method failed; Nested exception is java.lang.NoSuchMethodError:
Org.springframework.core.serializer.support.deserializingconverter.<init> (Ljava/lang/ClassLoader;) V
"Cause analysis"
Cause: Spring version is too low
In the SDR website, the following paragraph describes:
Spring Data Redis 1.x binaries requires JDK level 6.0 and above, and spring Framework 4.2.6.RELEASE and above.
Reference connection:
Http://coding84.com/article/24274915611907308.html
http://docs.spring.io/spring-data/redis/docs/1.7.2.RELEASE/reference/html/
error-prone: set up a Redis database index
The Redis default has 16 databases, and in the configuration file, which Redis database you need to use for Redis, you should use the attribute "database" instead of "Dbindex (Custom)".
"Original" Spring Integrated Redis (third)-SDR error in building up