上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 40 下一页
摘要: 在关闭防火墙到时候,出现: Redirecting to /bin/systemctl stop iptables.service Failed to stop iptables.service: Unit iptables.service not loaded. 解决方法: yum install 阅读全文
posted @ 2021-09-12 22:09 super超人 阅读(757) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_18846873/article/details/95940161 参考博客用的是NAT,我是选择的桥接模式,配置好后ip地址固定,能ping通和使用。 然后使用后面几步: 6、使用命令 cd /etc/sysconfig/network-sc 阅读全文
posted @ 2021-09-12 21:36 super超人 阅读(198) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_18846873/article/details/95940161 阅读全文
posted @ 2021-09-12 14:34 super超人 阅读(45) 评论(0) 推荐(0)
摘要: SpringBoot启动报错Failed to determine a suitable driver class:检查配置中的url是否被正确引用到。 SpringBoot启动报错Failed to determine a suitable driver class 阅读全文
posted @ 2021-09-09 14:00 super超人 阅读(659) 评论(0) 推荐(0)
摘要: package com.xingyi.bos.utils; import com.xingyi.bos.ZjBosApplication; import org.jasypt.encryption.StringEncryptor; import org.junit.Test; import org. 阅读全文
posted @ 2021-09-08 11:21 super超人 阅读(332) 评论(0) 推荐(0)
摘要: 转JsonObject: Object region = JSONObject.parse(regions.toString()); 转对象: BStationRegion stationRegion = JSONObject.parseObject(regions.toString(),BStat 阅读全文
posted @ 2021-09-08 10:09 super超人 阅读(1709) 评论(0) 推荐(0)
摘要: 必须是相同类型比较才行,否则返回false。 源码: public boolean equals(Object obj) { if (obj instanceof Integer) { return value == ((Integer)obj).intValue(); } return false 阅读全文
posted @ 2021-09-08 10:04 super超人 阅读(193) 评论(0) 推荐(0)
摘要: 多线程测试redisson实现分布式锁出现org.redisson.RedissonShutdownException: Redisson is shutdown。 原因:多线程还没跑完,主线程就跑完了。主线程走完,关闭了资源。redisson关闭,多线程操作redisson报错:Redisson 阅读全文
posted @ 2021-09-05 16:40 super超人 阅读(11263) 评论(0) 推荐(0)
摘要: springboot整合redis(单机),springboot整合redisCluster集群参考:https://www.cnblogs.com/super-chao/p/15143411.html 1.引入springboot和redis的相关jar包: <parent> <groupId>o 阅读全文
posted @ 2021-09-05 16:27 super超人 阅读(888) 评论(0) 推荐(0)
摘要: spring整合redis并实现redis分布式锁: 1.引入jar包 spring相关jar包。 redis相关jar包:jedis-2.9.0.jar。 spring整合redis的jar包:spring-data-redis-2.1.0.RELEASE.jar 注意版本对应,否则可能出现问题。 阅读全文
posted @ 2021-09-05 15:31 super超人 阅读(1100) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 40 下一页