zoukankan      html  css  js  c++  java
  • spring 3.0 整合redis

           参考文章:https://blog.csdn.net/weixin_42184707/article/details/80361464  

            其中遇到了问题,第一,redis的xml配置文件中的,头部地址资源符拉红线,在开发工具中修改配置加入即可,idea的配置方法:  https://www.cnblogs.com/ttflove/p/6341469.html

            第二:启动报spring 中的 bean 找不到的错误,出现这个错误的原因千奇百怪,最后确定是  我spring的版本太低了,引用的

      spring-data-redis 版本较高,改为 1.5.2的版本后,错误解决。下面贴出redis的相关依赖
    	<!--redis相关 -->
    		<dependency>
    			<groupId>org.springframework.data</groupId>
    			<artifactId>spring-data-redis</artifactId>
    			<version>1.5.2.RELEASE</version>
    		</dependency>
    		<dependency>
    			<groupId>redis.clients</groupId>
    			<artifactId>jedis</artifactId>
    			<version>2.9.0</version>
    		</dependency>
    

      

       

  • 相关阅读:
    Ztree-
    富文本编辑器Ueditor
    通知 弹框
    ResultEntity
    echart
    定时器,定时发邮件JavaMail
    重定向传值
    图片验证码
    异步json发送put或者delete
    异步时间格式转换插件
  • 原文地址:https://www.cnblogs.com/sanduweiliangxtx/p/10083710.html
Copyright © 2011-2022 走看看