1.JSR107 Java Caching定义了5个核心接口,分别是CachingProvider、CacheManager、Cache、Entry、Expiry。 CachingProvider:定义了创建、配置、获取、管理和控制多个CacheManager。一个应用可以在运行期访问多个Cachi ...
分类:
编程语言 时间:
2020-11-25 12:51:49
阅读次数:
8
SpringBoot与监控 本文只是介绍最基本的使用 1、SpringBootAdmin是什么? Spring Boot Admin 是由 codecentric 组织开发的开源项目,使用 Spring Boot Admin 可以管理和监控你的 Spring Boot 项目。它分为客户端和服务端两部 ...
分类:
编程语言 时间:
2020-11-25 12:30:21
阅读次数:
6
1.引入依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <d ...
分类:
编程语言 时间:
2020-11-24 13:01:28
阅读次数:
18
功能:解决web站点的登录,权限验证,授权等功能 优点:在不影响站点业务代码,可以权限的授权与验证横切到业务中 1、要添加的依赖 1 <!--thymeleaf--> 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <ar ...
分类:
编程语言 时间:
2020-11-24 12:34:10
阅读次数:
9
1、pom 包配置 我们使用 Spring Boot 版本 2.1.0、jdk 1.8、tomcat 8.0。 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a ...
分类:
编程语言 时间:
2020-11-24 12:18:53
阅读次数:
9
tomcat7 - Changing default welcome-page for spring-boot application deployed as a war - Stack Overflow https://stackoverflow.com/questions/26057995/ch ...
分类:
编程语言 时间:
2020-11-23 11:59:09
阅读次数:
7
spring boot 知识点总结 天狼星 https://www.cnblogs.com/wjqhuaxia/p/9820902.html spring cloud 知识点总结 姿势帝 https://www.cnblogs.com/newAndHui/tag/springcloud/ ...
分类:
编程语言 时间:
2020-11-20 11:53:50
阅读次数:
8
最近项目上部署程序时候报eureka相关的NPE错误,如下: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020- ...
分类:
移动开发 时间:
2020-11-20 11:50:24
阅读次数:
17
一、全局配置文件加载优先级 spring boot 启动会扫描以下位置的application.properties或者application.yml文件作为Spring boot的默认配置文件.数值越小的标号优先级越高。 file:./config/ (当前项目路径config目录下); file ...
分类:
编程语言 时间:
2020-11-19 13:00:39
阅读次数:
23
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 通过整合influxdb gitHub地址: https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File → New ...
分类:
数据库 时间:
2020-11-19 12:55:13
阅读次数:
14