自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 发送https请求

发送https请求package com.xzgx.thirdparty.util;import com.xzgx.common.exception.CustomException;import com.xzgx.common.utils.StringUtils;import lombok.extern.slf4j.Slf4j;import org.apache.http.HttpEntity;import org.apache.http.HttpResponse;import org.ap

2022-01-24 18:25:08 1712 1

原创 springboot解决fastJson反序列化漏洞

springboot解决fastJson反序列化漏洞1.fastJson版本升级为>1.2.66 **启动类添加** //解决fastJson反序列化漏洞,关闭autoType static { ParserConfig.getGlobalInstance().setSafeMode(true); }

2022-01-24 18:17:27 1187

原创 Could not create connection to database server. Attempted reconnect 3 times. Giving up.

问题描述:使用sqlyog连接本地数据库没问题,但是使用idea连接本地数据库报错【Could not create connection to database server. Attempted reconnect 3 times. Giving up.】原因分析:1.可能是mysql服务未启动成功。2.低版本的mysql驱动未加时区。3.我的异常问题(IP原因)【本文解决方案】。解决方案: url: jdbc:mysql://127.0.0.1:3306/ssp_v3.2.5 把ip

2021-02-19 15:23:35 920

原创 org.eclipse.jgit.transport.JschConfigSessionFactory类加载异常

org.eclipse.jgit.transport.JschConfigSessionFactory类加载异常##替换pom文件为如下版本 <dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>5.2.1.201812262042-r</v

2020-12-16 13:38:09 1023

原创 springboot项目打成jar运行classPathResource.getFile()获取文件失败

springboot项目打成jar运行classPathResource.getFile()获取文件失败把 ClassPathResource classPathResource = new ClassPathResource("antisamy/antisamy-ebay.xml"); File file = classPathResource.getFile(); InputStream inputStream = new FileInputStream(file);改为 Cla

2020-12-16 13:28:04 1642

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除