- 博客(8)
- 收藏
- 关注
原创 SpringCloud客户端的负载均衡Ribbon
SpringCloud客户端的负载均衡Ribbon一.创建Eureka服务器springcloud-eureka-server-ribbon(创建的就是普通的Eureka-Server)1.添加依赖(创建项目时,勾选SpringWeb,Eureka Server)<dependencies> <dependency> <groupId>org.springframework.boot</groupId>
2021-05-07 21:08:08 90
原创 SpringCloud服务注册Eureka
SpringCloud服务注册Eureka一.创建两个Eureka serverspringcloud-eureka-server-cluster-9100springcloud-eureka-server-cluster-92001添加依赖(创建项目时,勾选SpringWeb,Eureka Server)<dependency> <groupId>org.springframework.boot</groupId>
2021-05-07 17:14:37 92
原创 springboot安全框架-shiro
springboot安全框架-shiro1.创建项目添加依赖 有了shiro-spring-boot-web-starter依赖,我们就不需要添加spring-boot-starter-web <!-- shiro--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spr
2021-05-06 22:00:15 162
原创 springboot整合jpa
springboot整合jpa1.导入依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.9</version> </dependency> <dependency>
2021-05-06 21:39:19 110
原创 spring整合视图
spring整合视图1.Thymeleaf 1.导入依赖 <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2.通过application.properties配置Thymeleaf#设置缓存是否开启开发的时候可以false默认truespri
2021-05-06 21:38:54 74
原创 简单springboot整合mybatis
简单springboot整合mybatis1.添加依赖 <!--druid--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.9</version> </dependency> <dependency> &l
2021-04-29 20:29:37 63
原创 简单springboot整合JDBCTemplate
简单springboot整合JDBCTemplate1.添加依赖 <!--jdbc--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <!--mysql--> <dependen
2021-04-27 19:38:14 59
原创 Linux常用快捷键
Linux常用快捷键(个人笔记)1<Win+ArrowUp>全屏2<Win+ArrowLeft>| <Win+ArrowRight>左右分屏3Ctrl-Lclear4Ctrl-CCancel5Ctrl-DDone , logout, exit6Ctrl+Alt+Fxx=1 GUIx in 2-6 CLICtrl-ArrowleftwordCtrl-AheadCtrl-
2021-04-22 19:50:37 89
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人