Window启动命令:java -jar D:\jeecg-boot-module-system-2.0.0.jar Linux下后台进程启动命令:nohup java -jar jeecg-boot-module-system-2.0.0.jar >catalina.out 2>&1 & 关掉项目 ...
分类:
编程语言 时间:
2021-06-13 09:27:48
阅读次数:
0
nginx下载地址 http://nginx.org/en/download.html Window启动命令: java -jar D:\jeecg-boot-module-system-2.0.0.jar Linux下后台进程启动命令: nohup java -jar jeecg-boot-mod ...
分类:
系统相关 时间:
2021-06-13 09:26:41
阅读次数:
0
yaml文件读取: def read_yaml(): with open("config.yaml", encoding='utf-8') as f: data = yaml.load(f.read(), Loader=yaml.FullLoader) print(data) ...
分类:
编程语言 时间:
2021-06-11 18:50:54
阅读次数:
0
1、引入依赖 <!--邮件--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 2、配置地址 sprin ...
分类:
编程语言 时间:
2021-06-11 18:37:22
阅读次数:
0
首先简单阐述下什么是SPI:SPI 全称为 (Service Provider Interface) ,是JDK内置的一种服务提供发现机制。目前有不少框架用它来做服务的扩展发现,简单来说,就是一种动态替换发现的机制。使用SPI机制的优势是实现解耦,使得第三方服务模块的装配控制逻辑与调用者的业务代码分 ...
分类:
其他好文 时间:
2021-06-11 18:26:49
阅读次数:
0
一、添加maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 二、applicati ...
分类:
编程语言 时间:
2021-06-11 18:20:30
阅读次数:
0
前言 日常开发中,缓存是解决数据库压力的一种方案,通常用于频繁查询的数据,例如新闻中的热点新闻,本文记录springboot中使用cache缓存。 官方文档介绍:https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmls ...
分类:
编程语言 时间:
2021-06-10 18:50:45
阅读次数:
0
Springboot项目启动多个服务时,需要用到Run Dashboard 第一种方法:修改workspace.xml文件 1.找到项目中的workspace.xml文件:项目 》.idea 》workspace.xml 2.找到文件中 <component name="RunDashboard"> ...
分类:
其他好文 时间:
2021-06-10 18:38:54
阅读次数:
0
一,我们的结构如下 二,代码UnitTestApplication package com.nl; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr ...
分类:
编程语言 时间:
2021-06-10 18:27:41
阅读次数:
0
1. Spring Boot概述 目标:了解Spring Boot是什么,有什么作用 小结: Spring Boot是一个便捷搭建 基于spring工程的脚手架;作用是帮助开发人员快速搭建大型的spring 项目。简化工程的配置,依赖管理;实现开发人员把时间都集中在业务开发上。 2. Spring ...
分类:
编程语言 时间:
2021-06-10 18:00:32
阅读次数:
0