![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springBoot&Springcloud
Diligently_
滴水穿石|非一日之功
当你在停止不前的时候,可能以后你就是^
缺少你现在走的这一小步……
展开
-
springboot使用连接minion 配置
1添加:application-minio.properties。2.配置文件:MinIoClientConfig。4.测试文件:MinioController。3.添加 utils文件。原创 2023-06-02 14:47:45 · 593 阅读 · 0 评论 -
spring-security
spring security介绍:https://spring.io/projects/spring-security SpringSecurity 特点:⚫ 和 Spring 无缝整合。⚫ 全面的权限控制。⚫ 专门为 Web 开发而设计。 ◼旧版本不能脱离 Web 环境使用。 ◼新版本对整个框架进行了分层抽取,分成了核心模块和 Web 模块。单独 引入核心模块就可以脱离 Web 环境。⚫ 重量级。1 添加依赖<dependency> <groupI原创 2021-11-18 11:28:13 · 579 阅读 · 0 评论 -
Springcloud中的RestTemplate
RestTemplate restTemplate = new RestTemplate(); restTemplate.delete(""); restTemplate.put("",""); restTemplate.postForEntity(",","",String.class); restTemplate.postForLocation("","");get方法@Override @Nullable publi.原创 2020-07-07 22:03:35 · 155 阅读 · 0 评论 -
Springcloud中的值得参考的文章
https://www.jianshu.com/p/c836a283631e?from=groupmessage&isappinstalled=0简书上面的文章和内容Spring Cloud组件那么多超时设置,如何理解和运用?转载 2019-09-23 21:36:45 · 359 阅读 · 0 评论 -
Springcloud使用zookeeper作为注册中心
参考博客1:SpringCloud——Zookeeper(注册中心)https://blog.csdn.net/typ1805/article/details/82849855在SpringCloud中使用Zookeeper做注册中心和配置中心https://www.jianshu.com/p/1a839671e210以zookeeper为注册中心搭建spring cloud环...原创 2019-02-01 15:29:00 · 4848 阅读 · 0 评论 -
SpringBoot-redis集成测试
参考博客:SpringBoot集成Redis来实现缓存技术方案https://www.cnblogs.com/chun6/p/7236796.htmlspringboot集成redishttps://www.cnblogs.com/haitao-xie/p/6323423.html转载 2018-12-17 11:13:40 · 385 阅读 · 0 评论 -
springboot加载properties
参考博客:加载自定义的properties文件:https://blog.csdn.net/liuchuanhong1/article/details/78106648四种读取properties文件的方式:https://blog.csdn.net/thc1987/article/details/78789426添加url编码限制:https://blog.csdn.ne...转载 2018-12-05 10:55:32 · 5062 阅读 · 0 评论 -
springboot的使用
1。集成Spring & SpringMVC框架基本的Spring Boot环境已经构建好了,现在需要配置Spring框架及SpringMVC框架的业务环境在AtCrowdfundingApplication类中启用扫描功能,增加@ComponentScan注解package com.atguigu.crowdfunding;import org.springframew...原创 2018-05-31 19:14:25 · 258 阅读 · 0 评论 -
集成测试-springboot
框架集成完毕后,需要增加代码程序进行简单的测试。在src/main/java/com/atguigu/crowdfunding/controller目录中增加UserControllerpackage com.atguigu.atcrowdfunding.controller;import java.util.HashMap;import java.util.Map;import org...原创 2018-05-31 18:57:41 · 270 阅读 · 0 评论 -
springboot源码解读
1.static run2.。new SpringApplication()~.initialize a. this.webEnvironment = deduceWebEnvironment();推断当前环境是否为web应用环境 b. setInitializers((Collection) getSpringFactoriesInstances(ApplicationC...原创 2018-05-31 18:44:32 · 344 阅读 · 0 评论 -
springboot全局配置内容
# ===================================================================# COMMON SPRING BOOT PROPERTIES## This sample file is provided as a guideline. Do NOT copy it in its# entirety to your own appl...原创 2018-05-31 18:39:01 · 387 阅读 · 0 评论 -
springCloud-微服务
1.概述Spring Cloud是一系列框架的有序集合。它利用Spring Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册、配置中心、消息总线、负载均衡、断路器、数据监控等,都可以用Spring Boot的开发风格做到一键启动和部署。Spring并没有重复制造轮子,它只是将目前各家公司开发的比较成熟、经得起实际考验的服务框架组合起来,通过Spring Boot风格进行再封...原创 2018-05-31 17:55:30 · 179 阅读 · 0 评论 -
spring-springboot
在Spring Tool Suite中创建Maven Web项目,无需配置web.xml文件。修改项目中的pom.xml文件,设置JDK编译版本为1.81.创建maven环境<project> ... <build> <plugins> <!-- 修改maven默认的JRE编译版本,1.8代表JRE编...原创 2018-05-31 17:37:07 · 170 阅读 · 0 评论