rabbitmq版本:3.6.14 spring-core 版本: 4.2.5.RELEASE 备注:如果springboot升级到比较高的版本,能用到更高版本的amqp依赖包和spring-core依赖包,有比以下实现delay延迟消费的更好的代码。 声明exchange: Map<String, ...
分类:
其他好文 时间:
2020-12-19 13:38:01
阅读次数:
4
开发环境运行中,每次修改项目代码后都必须重新打包、重新运行。 解决: 下载依赖包: yarn add -D webpack-dev-server 配置命令: "dev": "webpack-dev-server --mode development" 执行命令: yarn dev 但执行命令时报错E ...
分类:
Web程序 时间:
2020-12-15 11:40:12
阅读次数:
4
通过切面编程实现系统请求操作日志记录 1、引入依赖包 <!-- aop 依赖包 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> ...
分类:
编程语言 时间:
2020-12-14 13:07:12
阅读次数:
5
如安装时,出现如下错误:Error:Package:kubelet-1.19.2-0.x86_64(kubernetes)Requires:conntrackYoucouldtryusing--skip-brokentoworkaroundtheproblemYoucouldtryrunning:rpm-Va--nofiles--nodigest解决方法:下载yum源,安装依赖包cd/etc/yu
分类:
Web程序 时间:
2020-12-11 11:43:11
阅读次数:
8
一、前言 上篇文章,我们聊到了SpringBoot得以实现的幕后推手,这次我们来用SpringBoot开始HelloWorld之旅。SpringBoot是Spring框架对“约定大于配置(ConventionoverConfiguration)”理念的最佳实践。SpringBoot应用本质上就是一个基于Spring框架的应用。我们大多数程序猿已经对Spring特别熟悉了,那随着我们的深入挖掘,会
分类:
编程语言 时间:
2020-12-10 11:07:25
阅读次数:
4
springboot 提供了对项目的监控功能。 1.首先添加依赖包 implementation 'org.springframework.boot:spring-boot-starter-actuator' 2.application.yml 端点配置 因为actuator默认只支持端点 /hea ...
分类:
编程语言 时间:
2020-12-07 12:23:22
阅读次数:
5
上一篇文章,介绍了 Spring Cloud Gateway 的相关术语、技术原理,以及如何快速使用 Spring Cloud Gateway。这篇文章我们继续学习 Spring Cloud Gateway 的高级使用方式,比如如何配置服务中心来使用,如何使用熔断、限流等高级功能。 注册中心 上篇主 ...
分类:
编程语言 时间:
2020-12-07 11:56:02
阅读次数:
5
1、安信可官方方法 :http://aiclouds3.0-docs.aithinker.com/#/2.device/configuration_linux 一堆必安的依赖包 :sudo apt-get install git wget flex bison gperf python python ...
分类:
其他好文 时间:
2020-12-02 12:26:38
阅读次数:
4
##源码安装Python3 ###一、安装Python3需要的依赖包 [root@localhost ~]# yum install -y gcc make wget openssl openssl-devel readline readline-devel zlib* libffi-devel 注 ...
分类:
编程语言 时间:
2020-11-26 14:09:24
阅读次数:
5
1、安装docker 1.1 安装依赖包 # yum install -y yum-utils device-mapper-persistent-data lvm2 1.2 添加yum源 # yum-config-manager --add-repo http://mirrors.aliyun.co ...
分类:
其他好文 时间:
2020-11-24 12:34:29
阅读次数:
6