
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
redistemplate 多数据源配置,网上找了很多博客,都不能用,要么代码报错,要么不报错查询不到数据,真操蛋,自己写了个示例,亲测可用pom.xml引入这两个<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-re
解决办法,千万不要设置 HashKeySerializer HashValueSerializer,不然的话用别的序列化器写string数据的时候会多一些乱码package com.lty.dispatch.conf;import org.springframework.context.annotation.Bean;import org.springfra...
https://www.linuxidc.com/Linux/2018-09/154152.htm
vue打包后的dist 放在 /usr/local目录下访问没有问题server {listen 8080;# 监听端口server_name localhost;# _代表匹配所有root /usr/local/dist; # 站点根目录index index.html;}dist 放在 /r...
/Tab可以弹出选择项。注意版本,不要使用新版。

【代码】docker portainer agent 安装。
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</ar...
logstash 的使用logstash支持把配置写入文件 xxx.conf,然后通过读取配置文件来采集数据./bin/logstash –f xxx.conf logstash最终会把数据封装成json类型,默认会添加@timestamp时间字段、host主机字段、type字段。原消息数据会整个封装进message字段。如果数据处理过程中,用户解析添加了多个字段,则最终结果又会多
maven install 的时候,如果是maven父子工程,希望某个子模块不install,怎么办呢?比如我有个子模块叫assembly,只是用来打包的,并不希望它install到本地仓库解决办法:在子模块的pom中添加代码:<maven.install.skip>true</maven.install.skip>...
前后端分离jwt登录验证 (vue + springboot)方案第一次登录后,前端j将后端返回的token保存在localStorage中以后每次前端访问后端接口时,都从localStorage中取出token加入请求header的Authorization字段后端建立拦截器,拦截每个请求的header中的Authorization字段值,即token,校验token是否过期,如果过期返回响应码







