摘要:
由于小程序开发的需求,需要在后台对微信接口返回的敏感信息加密数据进行解密,以便开发使用,但是,在解密时出现以下异常: java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/CBC/PKCS7Pa
阅读全文
posted @ 2021-10-09 10:50
爷的眼睛闪亮
阅读(3909)
推荐(0)
摘要:
ConnPoolControl 针对链接池的配置,查看源码可以看到主要在这个接口中。 package org.apache.http.pool; /** * Interface to control runtime properties of a {@link ConnPool} such as *
阅读全文
posted @ 2021-09-29 14:40
爷的眼睛闪亮
阅读(708)
推荐(0)
摘要:
1. 关闭正在运行的MySQL服务。 2. 打开DOS窗口,转到mysql\bin目录。 3. 输入mysqld --skip-grant-tables 回车。--skip-grant-tables 的意思是启动MySQL服务的时候跳过权限表认证。 4. 再开一个DOS窗口(因为刚才那个DOS窗口已
阅读全文
posted @ 2021-09-15 11:14
爷的眼睛闪亮
阅读(47)
推荐(0)
摘要:
package com.springboot.ssm.util;import com.alibaba.excel.EasyExcel;import com.alibaba.excel.support.ExcelTypeEnum;import lombok.extern.slf4j.Slf4j;imp
阅读全文
posted @ 2021-08-30 17:49
爷的眼睛闪亮
阅读(625)
推荐(0)
摘要:
//title监听器 @Slf4jpublic class TitleListener extends AnalysisEventListener<Title> { private final List<Title> rows = new ArrayList<>(); @Override publi
阅读全文
posted @ 2021-08-30 17:41
爷的眼睛闪亮
阅读(3549)
推荐(0)
摘要:
//监听器 @Slf4jpublic class ExcelListener<T extends BaseRowModel> extends AnalysisEventListener<T> { private final List<T> rows = new ArrayList<>(); priv
阅读全文
posted @ 2021-08-30 17:22
爷的眼睛闪亮
阅读(2756)
推荐(0)
摘要:
定义实体类 首先定义实体类User,需要继承BaseRowModel @Data public class User extends BaseRowModel { @ExcelProperty(value = "姓名", index = 0) private String name; @ExcelP
阅读全文
posted @ 2021-08-20 11:26
爷的眼睛闪亮
阅读(1403)
推荐(0)
摘要:
第一种: public static void main(String[] args) { SpringApplication springApplication=new SpringApplication(XmAuthApplication.class); springApplication.se
阅读全文
posted @ 2021-08-20 09:36
爷的眼睛闪亮
阅读(168)
推荐(0)
摘要:
<?xml version="1.0" encoding="UTF-8"?><configuration debug="false"> <!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径--> <property name="LOG_HOME" value="/home" /
阅读全文
posted @ 2021-08-19 11:54
爷的眼睛闪亮
阅读(44)
推荐(0)
摘要:
第一步: 第二步: 第三步: 上述标红两个文件分别在文件末尾增加: -Dfile.encoding=UTF-8 第四步: 如果以上还不行,痛苦不,纠结不,难受不........看完这个就不难受了。在c盘下也有idea的文件,找到idea下的idea.exe.vmoptons 在标红文件末尾增加: -
阅读全文
posted @ 2021-08-18 11:10
爷的眼睛闪亮
阅读(2308)
推荐(0)