一、SpringBoot 2.x的配置方法; 1、通过spring-boot-starter-cache导入依赖; 2、spring-boot-autoconfigureCache的CacheAutoConfiguration负责全局的cache管理,RedisCacheConfiguration负 ...
分类:
编程语言 时间:
2021-06-06 19:24:05
阅读次数:
0
当用jmeter压测时候,报的该错; 这是堆外内存溢出: ...
分类:
编程语言 时间:
2021-06-06 19:14:25
阅读次数:
0
Spring Boot 文档 1.关于文档 Spring Boot 参考指南可以通过以下方式获得: Multi-page HTML Single page HTML PDF 最新的版本可以在docs.spring.io/spring-boot/docs/current/reference/找到。 2 ...
分类:
编程语言 时间:
2021-06-06 18:52:05
阅读次数:
0
存储字段 eg: <script type="text/javascript"> $('#option_btn').change(function () { project_id = $('#option_btn').val(); var project_ids = $('#option_btn') ...
分类:
其他好文 时间:
2021-06-05 18:11:43
阅读次数:
0
简介 当某个类加载器需要加载某个.class文件时, 它首先把这个任务委托给他的上级类加载器,递归这个操作,如果上级的类加载器没有加载,自己才会去加载这个类。 参考链接 https://www.jianshu.com/p/1e4011617650 类加载器类别 BootstrapClassLoade ...
分类:
编程语言 时间:
2021-06-05 17:41:06
阅读次数:
0
EnableAutoConfiguration This class-level annotation tells Spring Boot to “guess” how you want to configure Spring, based on the jar dependencies that ...
分类:
其他好文 时间:
2021-06-04 19:47:18
阅读次数:
0
1. 下载cmake-3.12.2.tar.gz: wget https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2.tar.gz 2. 解压: tar -zxvf cmake-3.13.2.tar.gz 3、进 ...
分类:
其他好文 时间:
2021-06-03 18:13:48
阅读次数:
0
1.编写Dockerfile FROM java:8 # 作者 MAINTAINER lyh <335726817@qq.com> # VOLUME 指定了临时文件目录为/tmp。 # 其效果是在主机 /var/lib/docker 目录下创建了一个临时文件,并链接到容器的/tmp VOLUME / ...
分类:
编程语言 时间:
2021-06-03 18:08:49
阅读次数:
0
首先添加相关依赖: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ...
分类:
数据库 时间:
2021-06-02 18:25:26
阅读次数:
0
Spring Boot的特点 1.依赖管理 父项目做依赖管理 <!-- HelloWorld项目的父项目 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</ ...
分类:
编程语言 时间:
2021-06-02 17:50:55
阅读次数:
0