"Original" Spring Integrated Redis (third)-SDR error in building up

Source: Internet
Author: User
Tags redis version

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.