码迷,mamicode.com
首页 >  
搜索关键字:Springboot    ( 9666个结果)
springboot项目打包成war包
1、在pom.xml文件中修改<packaging>war</packaging>2、移除springboot自带的tomcat<!--移除自带的tomcat--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-bo
分类:编程语言   时间:2020-05-18 09:19:26    阅读次数:71
消息中间件(十)-----RabbitMq集成springboot
引入jar包 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:编程语言   时间:2020-05-17 19:19:27    阅读次数:86
[SpringBoot] Spring Boot(13)RabbitMQ安装与集成
1 前言 RabbitMQ是一个开源的消息代理软件(面向消息的中间件),它的核心作用就是创建消息队列,异步接收和发送消息,MQ的全程是:Message Queue中文的意思是消息队列。 1.1 使用场景 ● 削峰填谷:用于应对间歇性流量提升对于系统的“破坏”,比如秒杀活动,可以把请求先发送到消息队列 ...
分类:编程语言   时间:2020-05-17 17:43:41    阅读次数:105
[SpringBoot] Spring Boot(14)RabbitMQ延迟队列
1 前言 延迟队列的使用场景:1.未按时支付的订单,30分钟过期之后取消订单;2.给活跃度比较低的用户间隔N天之后推送消息,提高活跃度;3.过1分钟给新注册会员的用户,发送注册邮件等。 实现延迟队列的方式有两种: 1)通过消息过期后进入死信交换器,再由交换器转发到延迟消费队列,实现延迟功能; 2)使 ...
分类:编程语言   时间:2020-05-17 17:32:52    阅读次数:71
springboot启动过程中出现You must configure either the server or JDBC driver (via the serverTimezone configuration
报错: The server time zone value '?й???????' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver ...
分类:数据库   时间:2020-05-17 16:12:10    阅读次数:192
SpringBoot连接Redis-sentinel模式
一、引入pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 二、配置YML文件 serve ...
分类:编程语言   时间:2020-05-17 16:02:17    阅读次数:127
JOOQ 入门(三)-- CRUD 语句
序言 上一篇关于JOOQ的随笔介绍了Springboot项目的创建以及JOOQ 代码生成器的使用。 那么在上次的项目基础上来看看实际的JOOQ整么使用。 准备工作 先将项目的目录结构创建好 接下来CRUD的语法这篇文章会分别去写一个示例,看完之后基础的增删查改不在话下。 查询(select) 1 / ...
分类:其他好文   时间:2020-05-17 15:59:52    阅读次数:72
Springboot+Redis缓存(windows下配置)
下载redis免安装压缩包,解压 1.cmd命令窗口进入当前路径下,执行启动命令: H: cd H:\Redis-x64-3.2.100 redis-server redis.windows.conf 一、使用随机默认的数据库方式(使用springboot2.2.7+redis3.1.0) 1..p ...
分类:编程语言   时间:2020-05-17 13:33:47    阅读次数:65
springboot中添加拦截器(记录)
参考: If you want to keep Spring Boot MVC features and you want to add additional MVC configuration (interceptors, formatters, view controllers, and oth ...
分类:编程语言   时间:2020-05-17 01:33:09    阅读次数:91
springboot整合mybatis
pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:编程语言   时间:2020-05-17 01:30:41    阅读次数:78
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!