本周热门
评论 (1)3赞
1希望迟迟不来,苦死了等的人。
Vultr搭建SSR服务
一键搭建脚本一键安装脚本:wget -N –no-check-certificate https://oss.mzyyun.com/bash/ssr.sh && chmod +x ssr.sh && bash ssr.sh备用下载地址(上面的链接无法下载,就用这个):wget -N –no-ch……
CentOS7 Python2.7升级Python3
前言CentOS(Community Enterprise Operating System,中文意思是社区企业操作系统)是 Linux 发行版之一,它是来自于 Red Hat Enterprise Linux 依照开放源代码规定释出的源代码所编译而成。CentOS 7 中默认安装了 Python,但是版本是 2.x 的,由于 2020 年 python……
Springboot+Spring-Security+JWT+Redis实现restful Api的权限管理以及token管理
参考链接:https://blog.csdn.net/ech13an/article/details/80779973……
Spring Cloud @FeignClient 同一个服务注册两次
问题描述:1.多个接口上的@FeignClient(“相同服务名”)会报错,overriding is disabled。2.复制过去的类,再启动也会报错。使用的版本 SpringBoot: 2.1.4.RELEASE,SpringCloud: Greenwich.SR1,OpenFeign: 2.1.1.RELEASEThe bean 'eure……
SpringMVC跨域配置
一:SpringMVC4.x 以下,就需要对该请求配置 Filter,设置请求头可支持跨域。 1.web.xml 配置<!-- 跨域问题解决 --><filter> <filter-name>header</filter-name> <filter-class>com.forisel……
使用HttpClient发送Https请求时,出现异常PKIX path building failed: sun.security.provider.certpath.SunCertPathBuil
使用HttpClient发送Https请求时,出现异常为:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target出现这……
Maven引入本地jar包,解决打包时找不到本地jar包
由于 缺少部分引入 jar 包,服务器运行 jar 包时,会出现异常 找不到文件 Constructor threw exception; nested exception is java.lang.NoClassDefFoundError:XXX 引入本地 jar 包的代码如下:<dependency> ……
Java Lambda表达式forEach无法跳出循环的解决思路
如果你使用过 forEach 方法来遍历集合,你会发现在 lambda 表达式中的 return 并不会终止循环,这是由于 lambda 的底层实现导致的,看下面的例子:public static void main(String[] args) { List<String> list = Lists.newArrayList()……