09 2023 档案
摘要:一、问题复现 Nacos、Mysql 容器均开机自启。 Nacos 配置了 Mysql,配置确认没有问题,发现每次重启服务器,Nacos都无法直接成功连接 mysql。每次启动完 Nacos 后,需要用 Datagrip 连接一次 Mysql,再 docker restart nacos 才可以连上
阅读全文
摘要:Integer a = 127; Integer b = 127; System.out.println(a == b); 打印值为 true 而 Integer a = 128; Integer b = 128; System.out.println(a == b); 打印值为false 因为:
阅读全文