上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 47 下一页
摘要: OpenFeign是什么? OpenFeign是一个声明式的WebService客户端。使用OpenFeign能让编写Web Service客户端更加简单。使用时只需定义服务接口,然后在上面添加注解。OpenFeign也支持可拔插式的编码和解码器。spring cloud对feign进行了封装,使其 阅读全文
posted @ 2024-02-05 20:36 strongmore 阅读(71) 评论(0) 推荐(0)
摘要: 问题描述 Processing of multipart/form-data request failed. Stream ended unexpectedly 不通过网关,直接在本地 debug 是可以上传成功的,线上环境通过网关上传则会导致此错误,可能是网关修改了请求内容。 解决方式 前端将文件 阅读全文
posted @ 2024-02-04 20:14 strongmore 阅读(2298) 评论(0) 推荐(0)
摘要: 使用IDEA执行单元测试并查看覆盖率 导出会生成多个HTML文件 阅读全文
posted @ 2024-02-03 14:43 strongmore 阅读(1475) 评论(0) 推荐(0)
摘要: 问题描述 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unab 阅读全文
posted @ 2024-02-03 11:26 strongmore 阅读(292) 评论(0) 推荐(0)
摘要: 前言 如果我们应用中使用@ComponentScan注解扫描的package包含的类很多的时候,Spring解析耗时就会很多,相应的应用启动时间也就更长,Spring 5.0 引入了一个新的注解@Indexed ,它可以为Spring的模式注解添加索引,以提升应用启动性能。 使用 <dependen 阅读全文
posted @ 2024-02-01 18:40 strongmore 阅读(588) 评论(0) 推荐(0)
摘要: 查询 CPU 核数 nproc 结果为 4 查询内存 free -h # 以人类(human)可读的方式展示 结果为 total used free shared buff/cache available Mem: 15Gi 2.2Gi 327Mi 1.0Mi 13Gi 13Gi Swap: 8.0 阅读全文
posted @ 2024-01-31 23:29 strongmore 阅读(138) 评论(0) 推荐(0)
摘要: 问题 输入源“/body/reason”映射到值字段“退款原因”字符串规则校验失败,字符数 0,小于最小值 1 在调用微信退款时,遇到以上的问题,具体原因为:文档上退款原因为选填,我们可以填null,但不能是空字符串。 参考 微信官方文档-申请退款 阅读全文
posted @ 2024-01-30 20:29 strongmore 阅读(164) 评论(0) 推荐(0)
摘要: 问题 Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.13. 阅读全文
posted @ 2024-01-30 08:31 strongmore 阅读(2094) 评论(0) 推荐(0)
摘要: 前言 在我们系统中,有很多敏感数据,如 MySQL 及 Redis 的账号密码信息等,jasypt 可以帮我们加密这些信息,使系统更加的安全。 使用 添加 maven 依赖 <dependency> <groupId>com.github.ulisesbocchio</groupId> <artif 阅读全文
posted @ 2024-01-28 21:45 strongmore 阅读(217) 评论(0) 推荐(0)
摘要: 前言 nacos 后台页面提供了批量导入配置文件的功能,但官方文档中没有说明具体怎么使用。 具体使用 需要 zip 文件,文件夹名称为 group 名称。 导入成功页面提示为 注意:此功能很危险,没有二次确认的机会,一定要先在测试环境验证好。 mac 系统下压缩文件中会多一个.DS_Store 文件 阅读全文
posted @ 2024-01-25 21:08 strongmore 阅读(397) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 47 下一页