码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
springboot打成war包并携带第三方jar包
1.修改打包方式为war <packaging>war</packaging> 2.添加第三方依赖的jar到pom 我的第三方jar包在resoueces目录下的lib下(目录可以是其他路径,pom引包要正确) <dependency> <groupId>otc</groupId> <artifac ...
分类:编程语言   时间:2020-01-01 14:56:50    阅读次数:84
springboot 配置类添解决跨域问题
@Configuration public class GlobalCorsConfig { @Bean public CorsFilter corsFilter() { //1.添加CORS配置信息 CorsConfiguration config = new CorsConfiguration( ...
分类:编程语言   时间:2020-01-01 14:53:44    阅读次数:387
SpringBoot实现Session共享
一、创建项目并导入依赖 org.springframework.boot spring-boot-starter-data-redis-reactive org.springframework.boot spring-boot-starter-security org.springframework... ...
分类:编程语言   时间:2020-01-01 10:20:49    阅读次数:94
SpringBoot整合Rredis
一、创建项目并导入依赖 org.springframework.boot spring-boot-starter-data-redis-reactive org.springframework.boot spring-boot-starter-security org.springframework... ...
分类:编程语言   时间:2020-01-01 09:58:56    阅读次数:64
Actuator + Prometheus + Grafana搭建微服务监控平台
[TOC]前言关于Actuator:对SpringBoot监控能力有过了解的小伙伴都应该知道SpringBootActuator这个子项目,它为应用提供了强大的监控能力。从SpringBoot2.x开始,Actuator将底层改为Micrometer,提供了更强、更灵活的监控能力。Micrometer是一个监控门面,可以类比成监控界的Slf4j。借助Micrometer,应用能够对接各种监控系统,
分类:其他好文   时间:2020-01-01 09:55:59    阅读次数:134
厉害了!SpringBoot是如何动起来的!
程序入口 SpringApplication.run(BeautyApplication.class, args); 执行此方法来加载整个SpringBoot的环境。 1. 从哪儿开始? SpringApplication.java /** * Run the Spring application, ...
分类:编程语言   时间:2019-12-31 21:26:33    阅读次数:74
idea新建springboot项目
一、新建springboot项目 点击 文件--New--项目 选择Spring Initializr 下一步 按照上面的或者直接下一步 下一步 点击完成 二、启动项目 建立一个类 import org.springframework.web.bind.annotation.RequestMappi ...
分类:编程语言   时间:2019-12-31 15:55:06    阅读次数:72
springboot之mongo
原文链接:https://blog.csdn.net/qq_34177039/article/details/88536704 https://blog.csdn.net/qq_38288606/article/details/78673528 1、依赖 <dependency> <groupId> ...
分类:编程语言   时间:2019-12-31 14:15:29    阅读次数:60
构建SpringBoot,SpringCloud微服务架构分布式电商项目实战
构建SpringBoot,SpringCloud微服务架构分布式电商项目实战 ...
分类:编程语言   时间:2019-12-31 12:54:13    阅读次数:202
构建SpringBoot,SpringCloud秒杀系统微服务项目
构建SpringBoot,SpringCloud秒杀系统微服务项目 ...
分类:编程语言   时间:2019-12-31 12:51:31    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!