淡语

导航

随笔分类 -  Java

spingboot多模块项目添加本地jar包
摘要:一.将jar包放置在项目根目录的lib文件夹 二.在pom文件中添加本地依赖 <dependency> <groupId>com.platform</groupId> <artifactId>platform</artifactId> <version>4.1.0</version> <scope> 阅读全文

posted @ 2022-02-01 14:30 object360 阅读(388) 评论(0) 推荐(0)

在tomcat中配置阿里云免费SSL证书pfx,域名访问,无需项目名配置
摘要:--配置证书<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" scheme="https" secure="true" keystoreFile="C:\soft 阅读全文

posted @ 2021-05-26 16:14 object360 阅读(264) 评论(0) 推荐(0)

java操作zip压缩文件加密码和解密工具类
摘要:1.添加依赖 <!-- zip压缩文件工具类 --> <dependency> <groupId>net.lingala.zip4j</groupId> <artifactId>zip4j</artifactId> <version>1.3.2</version> </dependency> 2.工 阅读全文

posted @ 2021-01-29 11:07 object360 阅读(4826) 评论(0) 推荐(0)

连接mysql报错:Communications link failure The last packet successfully received from the server was 3,544 milliseconds ago
摘要:异常错误:Communications link failure The last packet successfully received from the server was 3,544 milliseconds ago 解决方法: 找到application-druid.yml文件 将tes 阅读全文

posted @ 2020-07-28 15:34 object360 阅读(2894) 评论(0) 推荐(0)