摘要: 1、添加所用到的依赖pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> <depen 阅读全文
posted @ 2021-06-24 01:39 shunnWcs 阅读(333) 评论(0) 推荐(0)
摘要: 1、性能分析插件,加入mybatis-puls 的组件,首先添加mybatis-plus依赖 <!-- mybatis-plus的依赖 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-sta 阅读全文
posted @ 2021-06-23 21:07 shunnWcs 阅读(258) 评论(0) 推荐(0)
摘要: 1、添加Mybatis-puls的依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.1.1</version> </depende 阅读全文
posted @ 2021-06-23 00:27 shunnWcs 阅读(116) 评论(0) 推荐(0)
摘要: 1、添加热部署的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> 2、热部署功能按住快捷键:ctrl + F9 阅读全文
posted @ 2021-06-22 23:59 shunnWcs 阅读(52) 评论(0) 推荐(0)
摘要: 1、使用docker(docker-compose) 去安装zookeeper version: '3.1' services: zookeeper: restart: always image: zookeeper container_name: zookeeper ports: - 2181:2 阅读全文
posted @ 2021-06-22 16:00 shunnWcs 阅读(57) 评论(0) 推荐(0)
摘要: 1、添加springSecurity的依赖 <properties> <java.version>1.8</java.version> <thymeleaf.version>3.0.9.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.ver 阅读全文
posted @ 2021-06-22 01:21 shunnWcs 阅读(299) 评论(0) 推荐(0)
摘要: 1、SpringBoot整合异步任务 2、SpringBoot整合定时任务 3、SpringBoot发送邮件任务,添加mail的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st 阅读全文
posted @ 2021-06-22 00:22 shunnWcs 阅读(50) 评论(0) 推荐(0)
摘要: 使用docker-compose 安装RabbitMQ version: '3.1' services: rabbitmq: restart: always image: rabbitmq:management container_name: rabbitmq ports: - 5672:5672 阅读全文
posted @ 2021-06-21 18:20 shunnWcs 阅读(76) 评论(0) 推荐(0)
摘要: 1、添加redis的场景启动器依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2、编写a 阅读全文
posted @ 2021-06-21 12:16 shunnWcs 阅读(123) 评论(0) 推荐(0)
摘要: 1、首先创建环境添加pom.xml依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> <dep 阅读全文
posted @ 2021-06-21 00:37 shunnWcs 阅读(79) 评论(0) 推荐(0)