public void RefreshContentSizeFitter() { ContentSizeFitter[] csfs = itemRoot.GetComponentsInChildren<ContentSizeFitter>(); foreach (var item in csfs) ...
分类:
编程语言 时间:
2020-07-03 19:11:40
阅读次数:
117
使用Spring Cloud Bus自动刷新配置 1. 简介 上一章已经实现了使用服务配置中心集中管理配置文件,并可/actuator/refresh手动刷新配置而不需重启。但如果所有微服务节点的配置都需要手动刷新,工作量也很大。所以本文将使用Spring Cloud Bus实现配置的自动刷新。 S ...
分类:
编程语言 时间:
2020-07-03 19:07:57
阅读次数:
107
问题现象 部署的docker容器运行一端时间以后,由于需要修改配置,需要重启容器,但是重启的时候,报如下错误: Error response from daemon: Cannot restart container rsnmp_v4: OCI runtime create failed: cont ...
分类:
其他好文 时间:
2020-07-02 13:19:58
阅读次数:
66
安装了react-redux后,npm start报下面错误 Failed to compile. ./node_modules/_react-redux@7.2.0@react-redux/es/connect/mapDispatchToProps.js Module not found: Can ...
分类:
其他好文 时间:
2020-07-01 14:19:25
阅读次数:
78
apply plugin: 'com.android.application' buildscript { repositories { maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url'htt ...
分类:
移动开发 时间:
2020-07-01 12:50:02
阅读次数:
77
线上一个mysql5.6主从复制被操作系统重启弄崩溃了。重新搭建主从复制时, start slave io_thead; start slave sql_thread; 之后,show slave status\G 报错: ERROR 1872 (HY000): Slave failed to in ...
分类:
其他好文 时间:
2020-07-01 00:23:54
阅读次数:
91
谈谈Spring中都用到了哪些设计模式? JDK 中用到了那些设计模式?Spring 中用到了那些设计模式?这两个问题,在面试中比较常见。我在网上搜索了一下关于 Spring 中设计模式的讲解几乎都是千篇一律,而且大部分都年代久远。所以,花了几天时间自己总结了一下,由于我的个人能力有限,文中如有任何 ...
分类:
编程语言 时间:
2020-06-30 20:15:27
阅读次数:
40
Can’t login: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect
push远程仓库遇到报错 remote: Invalid username or password. fatal: Authentication failed 1、首先配置用户信息 git config --global user.name [username] git config --globa ...
分类:
其他好文 时间:
2020-06-30 17:17:34
阅读次数:
49
最近再做spring junit 做单元测试中,报 Failed to load ApplicationContext 错误。 import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea ...
分类:
移动开发 时间:
2020-06-30 12:38:56
阅读次数:
60