01 2022 档案
摘要:好记性不如烂笔头 windows 环境,使用 rabbit Mq 需要安装, erl 和 rabbit Mq 1.erl 安装完需要配置环境变量 2.查询 erl 是否安装好,cmd-->erl -version erl -version3.MQ 安装目录下D:\anzhuang\rabbitmq_
阅读全文
摘要:建 application.yml 文件 server: # 服务端口号 port: 7609spring: application: # 服务名称 - 服务之间使用名称进行通讯 name: service-test4 datasource: driver-class-name: com.mysql
阅读全文
摘要:1.报错一:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. -- 配置数据源失败:未指定“url”属性,无法配置嵌入式
阅读全文
摘要:maven 查看依赖树结构命令mvn dependency:tree 1.出现下面这样冲突 omitted for duplicate 因重复而省略 2.解决-- 那个项目有问题,先注释掉,在重新一个一个添加,看那个包冲突 3 .非要用某个版本的工具或者方法,使用排除法 <exclusions><e
阅读全文
摘要:#1.开启高可用网关集群 好记性不如烂笔头 #gzip on; #开启网关集群 upstream gateway{ server 127.0.0.1:4100; server 127.0.0.1:4200; } location / { proxy_pass http://gateway/; } #
阅读全文
摘要:-- 今天生成环境数据突然多,系统异常 解决方案(必须用in 业务情况),也可以用其他函数解决 union all 或者 exists 等 1:截取list List<Integer> intList1apache=new ArrayLiat(); List<List<Integer>> subs1
阅读全文
摘要:链接:https://pan.baidu.com/s/1SoSWCfHwZhD3tV4C7DcirA 提取码:okfm 1.下载文件 2.以管理员身份运行 3.
阅读全文
摘要:1.ctrl+shitf+u 大小写切换 2.ctrl+shitf+L 快速格式化代码 3.ctrl+alt+方向左键 快速回到上一层 4..ctrl+shitf+E 最近更改的文件 5.ctrl+[ 或者 ctrl +] 快速到大括号前和后 6.ctrl + f12 快速展开文件结构 7.ctrl
阅读全文
摘要:windows+r cmd netstat -aon|findstr "8761" taskkill /pid "19348" -t -f
阅读全文
摘要:1.txlcn 分为两部分 txlcn-tm 和 txlcn-tc以下简称 tm 和 tc tm 1.添加 依赖 <dependency> <groupId>com.codingapi.txlcn</groupId> <artifactId>txlcn-tm</artifactId> <versio
阅读全文
摘要:1.一般在当前项目目录下 .git 文件夹里面,删除 index.lock 2.如果当前项目目录下 没有 .git 文件,一般都是隐藏了。 3.查看里面有个选项,把隐藏的项目勾选上,就可以找到 .git 文件夹。
阅读全文
摘要:1.pom 文件引入 包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId></dependency> 2.配置文件 redi
阅读全文
摘要:-1-安装 gcc 环境yum install gcc-2-安装 c++ 环境yum install gcc-c++-3-解压tar -zvxf redis-5.0.0.tar.gz-4- 安装 rediscd redis-5.0.0--> make -5-如果不知道redis-server文件位置
阅读全文