随笔分类 -  开发随笔

记录开发过程中的文件解决方案
摘要:新建一个 HttpServletRequestWrapper 实现类,在Filter 中使用该类包装原request import cn.hutool.core.collection.CollUtil; import cn.hutool.core.io.IoUtil; import cn.hutoo 阅读全文
posted @ 2024-12-06 17:00 浪天涯&* 阅读(59) 评论(0) 推荐(0) 编辑
摘要:import cn.hutool.core.net.URLEncodeUtil; import cn.hutool.core.util.RandomUtil; import cn.hutool.core.util.StrUtil; import cn.hutool.crypto.SecureUtil 阅读全文
posted @ 2024-12-06 16:48 浪天涯&* 阅读(32) 评论(0) 推荐(0) 编辑
摘要:新建一个类,实现 WebMvcConfigurer 接口,重写 extendMessageConverters 方法,启动类上添加 @EnableAutoConfiguration 注解 import com.fasterxml.jackson.databind.DeserializationFea 阅读全文
posted @ 2024-12-06 16:36 浪天涯&* 阅读(215) 评论(0) 推荐(0) 编辑
摘要:import cn.hutool.core.collection.ListUtil; import cn.hutool.core.convert.Convert; import cn.hutool.core.io.FileUtil; import cn.hutool.core.text.CharSe 阅读全文
posted @ 2024-11-18 19:11 浪天涯&* 阅读(6) 评论(0) 推荐(0) 编辑
摘要:日志加载: org.springframework.boot.logging.AbstractLoggingSystem#initializeWithConventions private void initializeWithConventions(LoggingInitializationCon 阅读全文
posted @ 2024-07-15 11:58 浪天涯&* 阅读(13) 评论(0) 推荐(0) 编辑
摘要:打印SQL日志到控制台 mybatis-plus: configuration: # 这个配置会将执行的sql打印到控制台,在开发或测试的时候可以用 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 打印SQL日志到文件 logging: l 阅读全文
posted @ 2024-07-15 10:03 浪天涯&* 阅读(530) 评论(0) 推荐(0) 编辑
摘要:链接:https://pan.baidu.com/s/1Jbos9YwIgt6oETmBA5lezQ 提取码:fwgj 检查gcc环境 若无gcc环境 执行以下命令: tar -xvf gcc.tar cd gcc rpm -Uvh *.rpm --nodeps –force m4包安装 tar - 阅读全文
posted @ 2024-07-08 14:55 浪天涯&* 阅读(128) 评论(0) 推荐(0) 编辑
摘要:根据版本过滤实例: import cn.hutool.core.collection.CollUtil; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springf 阅读全文
posted @ 2024-06-21 15:15 浪天涯&* 阅读(9) 评论(0) 推荐(0) 编辑
摘要:生成证书:keytool -genkeypair -keystore test.jks -alias test -keyalg RSA -keysize 2048 -validity 3650应用配置:server: port: 18081 #https http-port: 8081 #http 阅读全文
posted @ 2024-06-21 14:51 浪天涯&* 阅读(27) 评论(0) 推荐(0) 编辑
摘要:@echo off ::maven打包报错:Malformed \uxxxx encoding ::REPOSITORY_PATH更换成自己的maven地址 set REPOSITORY_PATH=/Work/MyMavenRepository echo %REPOSITORY_PATH% for 阅读全文
posted @ 2023-01-06 17:22 浪天涯&* 阅读(0) 评论(0) 推荐(0) 编辑
摘要:package com.migu.redstone.quanyi; import org.apache.commons.lang.StringUtils; import javax.validation.Constraint; import javax.validation.ConstraintVa 阅读全文
posted @ 2022-02-17 10:26 浪天涯&* 阅读(154) 评论(0) 推荐(0) 编辑
摘要:Easy Excel官方文档:https://www.yuque.com/easyexcel/doc/easyexcel 表格导入导出工具类:EasyExcelUtils package com.ai.hdl.market.infrastructure.utils.easyexcel; import 阅读全文
posted @ 2022-02-17 10:21 浪天涯&* 阅读(954) 评论(0) 推荐(0) 编辑
摘要:1、Help——>Install New SoftWare 2、https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/ 3、安装完成,重启Eclipse。 阅读全文
posted @ 2016-09-29 18:26 浪天涯&* 阅读(685) 评论(0) 推荐(0) 编辑
摘要:import org.apache.commons.mail.EmailException;import org.apache.commons.mail.SimpleEmail;import org.junit.Test;public class SendEmail { @Test public v 阅读全文
posted @ 2016-07-25 18:22 浪天涯&* 阅读(124) 评论(0) 推荐(0) 编辑