![](https://img-blog.csdnimg.cn/20190927151053287.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
疑难杂症与需求
各种开发遇到的问题和变态需求
飞四海
这个作者很懒,什么都没留下…
展开
-
【WebService】使用postman调用WebService方法
公司原来有一个项目使用的是WebService,想模拟一下怎么调用WebService的方法,使用postman调用怎么调用。原创 2023-08-10 17:29:04 · 8067 阅读 · 0 评论 -
【MybatisPlus】怎么处理百万级以上数据开发案例
数据库的表有一百多万条数据,现在要通过定时任务,去把这些数据发送到kafka 第三方。原创 2023-04-23 14:37:27 · 1206 阅读 · 1 评论 -
【SpringBoot】解决跨域问题
Invalid CORS request 跨域问题解决原创 2023-04-17 17:35:07 · 239 阅读 · 0 评论 -
【Springboot】启动 报错java.nio.charset.MalformedInputException: Input length = 1
今天做迁移项目的时候,突然起不来了报错了,后面排查是编码的问题,所以改了一下编码,特此记录。改完了启动不好使重新编译一下项目或者重启清下缓存都可以。为了省事我把文件都加入到转义编码里面了。原创 2023-04-16 14:15:53 · 430 阅读 · 0 评论 -
【数据库错误】Could not create connection to database server. Attempted reconnect 3 times. Giving up.
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.原创 2023-04-11 16:08:37 · 1792 阅读 · 0 评论 -
【SpringBoot问题】 expected at least 1 bean which qualifies as autowire candidate.
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name原创 2022-12-20 10:24:22 · 3743 阅读 · 0 评论 -
minio下载文件乱码或者是一条横线
项目场景:minio下载文件乱码或者是一条横线问题描述这是因为 环境不匹配造成 Liunx和win都是有区别的所以要根据编码去试试response.setCharacterEncoding(DictConstant.UTF_8);String fileName =URLDecoder.decode(files.getFileName(), Charsets.UTF_8);logger.info("--------------------fileName1:{}",fileName);Stri原创 2022-03-22 15:06:12 · 3006 阅读 · 0 评论 -
【SpringBoot】实现注解方式日志log记录
注解日志原创 2022-11-09 16:05:52 · 776 阅读 · 0 评论 -
JsqlParser工具类获取 where 参数
这里面会包含所有可能的sql运算符号,= 、 >=、原创 2022-10-28 17:59:30 · 1557 阅读 · 0 评论 -
SpringBoot里获取实现接口的所有实例
需求:升级组件,目前有几个组件需要统一管理升级,后面还可能要扩展,所以使用工厂模式实现,然后再升级中,不确定有多少个升级包,所有需要所有的升级都要处理一遍,有包就执行升级没有就不升级,所有我要实现,在spring下,怎么获取实现接口下的所有实例,然后循环调用。原创 2022-08-24 11:24:18 · 1119 阅读 · 0 评论 -
Springboot项目获取jvm自定义参数
【代码】Springboot项目获取jvm自定义参数。原创 2022-08-23 11:21:08 · 853 阅读 · 0 评论 -
Springboot上传文件the request was rejected because its size (798517483) exceeds the configured maximum
org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because it原创 2022-08-23 10:39:39 · 343 阅读 · 0 评论 -
SpringBoot 部署无法读取文件 进行处理
jar读取文件原创 2022-07-31 15:26:13 · 1477 阅读 · 0 评论 -
SpringBoot 部署无法读取文件 进行处理-导出excel-xlsx 文件损坏
配置导出xlsx文件,一打开就损坏,所以找到了一下解决办法,亲测有效原创 2022-07-31 15:23:48 · 1425 阅读 · 0 评论 -
Spring高版本循环依赖报错问题
解决spring高版本循环依赖问题原创 2022-07-31 15:21:58 · 2145 阅读 · 0 评论 -
Response 重写设置返回值
重写response原创 2022-07-31 15:19:06 · 3037 阅读 · 0 评论