码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
springboot2.x 与 1.x 配置 redis 区别
1.X redis maven 依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.7.RELEASE</ve ...
分类:编程语言   时间:2020-06-09 12:47:12    阅读次数:92
springMVC的form标签
1.需在jsp页面引入头文件: <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 2.在jsp页面的使用方法: 3.对应controller的使用: @RequestMapping(value = " ...
分类:编程语言   时间:2020-06-08 19:13:23    阅读次数:72
Spring JPA使用Tips
命名查询的前缀定义可以在PartTree类找到, package org.springframework.data.repository.query.parser; public class PartTree implements Streamable<OrPart> { // ... privat ...
分类:编程语言   时间:2020-06-08 10:44:27    阅读次数:64
org.springframework.dao.QueryTimeoutException: Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after 300 millisecond(s)
原因: 1、测试连接超时导致; 解决办法:修改spring中配置文件 spring.redis.timeout=800 ,调大超时时间 同时引入了lettuce和jedis的依赖导致的,项目中排出jedis的依赖并加入apache的 <dependency> <groupId>org.apache. ...
分类:编程语言   时间:2020-06-07 10:52:48    阅读次数:108
SpringBoot定时发送邮件
前提: 1.Springboot项目 2.引入maven 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependenc ...
分类:编程语言   时间:2020-06-07 10:42:40    阅读次数:101
Springmvc+spring+mybatis整合
整合的配置文件: spring (applicationContext.xml) <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=" ...
分类:编程语言   时间:2020-06-06 12:43:34    阅读次数:64
【SpringMVC系列3】自定义一转化器
一、概述 1.表单传给我们后台,中会有一些自动转换:String转int 2.我们要实现这样的自动,转换有两种方法 a.配置<mvc:annotation-driver /> b.配置<bean id="conversionService" class="org.springframework.fo ...
分类:编程语言   时间:2020-06-06 00:43:54    阅读次数:75
缓存ehcache启动失败missing element type
启动失败了,报了如下错误: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheCacheManager' defined in class path resou ...
分类:系统相关   时间:2020-06-05 19:37:41    阅读次数:211
SpringQuartz快速入门
SpringQuartz 一、什么是SpringQuartz Quartz是启动定时任务的框架,可以帮助我们在特定的时间执行对应的程序,比如定时发送邮件等 二、快速开始 引入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifa ...
分类:编程语言   时间:2020-06-05 13:27:24    阅读次数:62
RabbitMQ+Redis模拟手机验证码登录
RabbitMQ+Redis模拟手机验证码登录 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> <d ...
分类:移动开发   时间:2020-06-04 14:02:14    阅读次数:74
4755条   上一页 1 ... 36 37 38 39 40 ... 476 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!