Loading

摘要: zuul集成了ribbon 和hystrix 如果调用的远程服务没有正常返回结果,又没有设置熔断机制,就会上述错误。 因为redis的docker忘记启动了。 正常调用的情况就不会出现该错误,所有还要设置熔断机制,不然超时的参数时间怎么设置也没用 zuul: host: connect-timeou 阅读全文
posted @ 2020-08-10 14:12 landfill 阅读(2685) 评论(0) 推荐(0)
摘要: https://juejin.im/post/6844904084168769549#heading-30 ip neigh | grep REACHABLE cat /proc/net/arp cat /tmp/dhcp.leases 抓包到下载到本地,在wireshark open tcpdum 阅读全文
posted @ 2020-08-09 17:12 landfill 阅读(1231) 评论(0) 推荐(0)
摘要: settings live tempalte 创建template group template text ** * @description: $description$ $params$ $returns$ * @author: Landfill * @date: $date$ */ edit 阅读全文
posted @ 2020-08-09 13:47 landfill 阅读(643) 评论(0) 推荐(0)
摘要: vituralbox 使用的桥接模式 手动指定静态ip vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 ◆将ONBOOT=no改为ONBOOT=yes ◆将BOOTPROTO=dhcp改为BOOTPROTO=static ◆增加IPADDR(IPv4): 阅读全文
posted @ 2020-08-08 23:57 landfill 阅读(513) 评论(0) 推荐(0)
摘要: 针对CentOS,其最小化安装已经不会包含ifconfig和netstat相关的网络工具了。 解决方法有几个: 确认路径 首先,最基本的就是看下是否有该指令,使用find find -name "ipconfig" 如果发现了,则将其添加到PATH环境变量中。当然可以直接去bin和sbin目录下看下 阅读全文
posted @ 2020-08-08 23:52 landfill 阅读(192) 评论(0) 推荐(0)
摘要: 问题: IDEA maven 项目编译忽略xml文件,在target/classes路径下没有xml。、 解决: 在pom中添加build标签的resource 指定的要加入的xml等配置文件 <build> <resources> <!-- mapper.xml文件在java目录下 --> <re 阅读全文
posted @ 2020-08-08 17:43 landfill 阅读(1700) 评论(1) 推荐(0)
摘要: Mybatis Generator 路径和实体类要放的路径不一致。会出现一系列的错误。手动修改alias也还是会报错,直接重新生成 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Fact 阅读全文
posted @ 2020-08-08 17:40 landfill 阅读(1496) 评论(0) 推荐(0)
摘要: mybatis\mapper\AdminMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.b 阅读全文
posted @ 2020-08-07 15:54 landfill 阅读(2995) 评论(0) 推荐(0)
摘要: 转载:https://gist.github.com/linlihai/10219184#file-gistfile1-md 近日来自己想基于maven搞一个有多子模块的archetype,就用比较流行的Spring mvc.archetype 闲来无事加上Spring security可好? 于是 阅读全文
posted @ 2020-08-07 10:44 landfill 阅读(731) 评论(0) 推荐(0)
摘要: Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors 暂 阅读全文
posted @ 2020-08-06 21:48 landfill 阅读(719) 评论(0) 推荐(0)