摘要: 1.安装Git https://www.cnblogs.com/wj-1314/p/7993819.html 2.tortoisegit安装和配置 https://www.cnblogs.com/xiuxingzhe/p/9312929.html 阅读全文
posted @ 2018-12-10 21:15 ForgotTheMemory 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 菜鸟教程 http://www.runoob.com/redis/redis-intro.html 一、Redis 是完全开源免费的,是一个高性能的key-value数据库。 二、Redis 的优点 1.相比其他key-value数据库,Redis支持数据持久化 2.相比其他key-value数据库 阅读全文
posted @ 2018-09-12 15:58 ForgotTheMemory 阅读(102) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-09-12 15:58 ForgotTheMemory 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-12 11:28 ForgotTheMemory 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1.1.1. 启动错误1 关键错误(丢失了web容器的工厂,也就是说我们并没有把它作为一个web应用来启动): org.springframework.context.ApplicationContextException: Unable to start embedded container; n 阅读全文
posted @ 2018-09-12 11:15 ForgotTheMemory 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 设置RabbitMQ和Spring的整合 我们之前使用的Spring-Rabbit的xml方式,现在我们要改造成java方式,并且Spring Boot对RabbitMQ的使用做了自动配置,更加的简化了我们的使用。 1、 在导入spring-boot-starter-amqp的依赖; 2、 在app 阅读全文
posted @ 2018-09-12 11:09 ForgotTheMemory 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 设置Redis和Spring的整合 在Spring Boot中提供了RedisTempplate的操作,我们暂时不做学习,先按照我们之前的实现来完成。 代码: import java.util.ArrayList; import java.util.List; import org.springfr 阅读全文
posted @ 2018-09-12 11:07 ForgotTheMemory 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 设置Httpclient和Spring的整合 import org.apache.http.client.config.RequestConfig; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.h 阅读全文
posted @ 2018-09-12 11:07 ForgotTheMemory 阅读(2847) 评论(0) 推荐(0) 编辑
摘要: Mybatis和Spring Boot的整合有两种方式: 第一种:使用mybatis官方提供的Spring Boot整合包实现,地址:https://github.com/mybatis/spring-boot-starter 第二种:使用mybatis-spring整合的方式,也就是我们传统的方式 阅读全文
posted @ 2018-09-12 11:05 ForgotTheMemory 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 设置事务管理 在Spring Boot中推荐使用@Transactional注解来申明事务。 首先需要导入依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc 阅读全文
posted @ 2018-09-12 11:05 ForgotTheMemory 阅读(157) 评论(0) 推荐(0) 编辑