2024年3月6日
摘要:
转自:https://blog.csdn.net/bengbuguang4321/article/details/121951650 在启动项目时,Redisson 自己会启动一个Redisson连接池,尝试连接redis,这时候如果遇到网络不通就会出现问题,因为redis连接不上,导致项目启动不了
阅读全文
posted @ 2024-03-06 22:37
z5337
阅读(863)
推荐(0)
摘要:
参考:https://developer.baidu.com 百度开源了好多项目:
阅读全文
posted @ 2024-03-06 10:48
z5337
阅读(9)
推荐(0)
2024年3月5日
摘要:
参考:https://www.cnblogs.com/hyperionG/p/15602642.html 以下代码段是向阿里的 通义灵码 提问得到的: import lombok.Data; @Data public class OuterVO { // 外部类的属性 private String
阅读全文
posted @ 2024-03-05 23:38
z5337
阅读(98)
推荐(0)
摘要:
Consider defining a bean of type 'XXX' in your configuration. 这个错误的翻译是 考虑在配置中定义一个类型为“XXX”的bean 解决方法: https://blog.csdn.net/a532672728/article/details/
阅读全文
posted @ 2024-03-05 16:04
z5337
阅读(134)
推荐(0)
摘要:
当使用新版本的语法糖时,编译器报错了: 参考:https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/configure-language-version 配置项目文件,添加如下蓝色配置后正常: <PropertyGrou
阅读全文
posted @ 2024-03-05 10:05
z5337
阅读(406)
推荐(0)
2024年3月4日
摘要:
遇到 CommunityToolkit.Mvvm 的一些新特性时,发现在 .net framework 4.8 不起作用,查阅相关资料发现: 这些新特性要求在 netstandard2.0 才能起作用 相关资料:https://www.cnblogs.com/qingxi11/p/17144608.
阅读全文
posted @ 2024-03-04 23:27
z5337
阅读(92)
推荐(0)
2024年3月3日
摘要:
public class HundredthPrime { public static void main(String[] args) { int count = 0; for (int i = 2; ; i++) { for (int j = 2; j <= i; j++) { if (i %
阅读全文
posted @ 2024-03-03 21:29
z5337
阅读(16)
推荐(0)
2024年2月26日
摘要:
参考: https://learn.microsoft.com/zh-cn/windows-hardware/drivers/print/supporting-user-defined-paper-sizes 首先找到配置文件位置 C:\Windows\System32\spool\V4Dirs\0
阅读全文
posted @ 2024-02-26 18:36
z5337
阅读(116)
推荐(0)
2024年2月25日
摘要:
常见的状态码有 200 / 404 / 500 等 https://blog.csdn.net/vdora/article/details/115113227
阅读全文
posted @ 2024-02-25 21:35
z5337
阅读(18)
推荐(0)
摘要:
修改文件配置 JVM 参数: 对于 MIME类型,可以在 ${TOMCAT_HOME}/conf/web.xml 文件里看到当前 Tomcat 支持有哪些 MIME 类型。
阅读全文
posted @ 2024-02-25 15:43
z5337
阅读(10)
推荐(0)