2020

问题描述Kubernetes 集群中一个 node 上部署的 SpringBoot 程序在连接 redis 集群时报错,提示 connect timed out ,详细报错如下: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.da ...

问题描述Spring Boot应用启动时连接 Nacos 失败,报如下错误: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: ErrCode:503, ErrMsg:server is ...

1. 使用私有构造函数实现单例模式public class EagerInitializedSingleton { private static final EagerInitializedSingleton INSTANCE = new EagerInitializedSingleton(); /** * 使用 private 修饰,外部或子类不能创建实例 ...

错误描述使用 Sentinel 和 Feign 集成时,启动项目报以下错误: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configController': Injection of resource dependencies failed; nes ...

安装插件 mini-program-iconfont-cli命令 npm install mini-program-iconfont-cli --save-dev 输出 $ npm install mini-program-iconfont-cli --save-dev + mini-program-iconfont-cli@0.6.0 added 27 packages from 64 cont ...

问题描述Spring Boot程序打包后部署报 ClassNotFoundException: javax.servlet.Filter 错误,详细报错如下: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.lanweihong.hote ...

问题描述在 vue 项目中,重复单击路由会报以下错误,虽然不影响程序的正常运行,但赤裸裸的显示在控制台实在令人不爽,所以还是想办法解决这个错误。 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/users". at create ...
2019

问题描述 Docker 默认不支持中文,Docker 部署好程序输出日志或返回数据中有中文则显示乱码: /** * ������������������ * @return */ 查看当前容器支持的编码格式 [root@gga5eezhgbyZ ~]# docker exec -it f361b7d84652 locale LANG= LC_CTYPE="POSIX" L ...

描述更新一个或多个容器的配置。 语法docker update [OPTIONS] CONTAINER [CONTAINER...] OPTIONS 说明 名称 描述 --blkio-weight 阻塞IO (相对权重),介于10到1000之间,0表示禁用(默认禁止) --cpu-period 限制CPU CFS(完全公平的调度程序)期限 --cpu-quota 限制CPU CF ...

安装 aria2安装 aria2 可查看我另一篇文章 aria2 使用教程。 安装 Chrome 扩展插件 下载扩展 百度网盘助手(BaiduExporter.crx),下载源码包后解压,将 BaiduExporter.crx 后缀改为 “.rar“,然后解压,得到一个文件夹 BaiduExporter; 使用 Chrome 打开 chrome://extensions/ 扩展程序,点击右上角的 ...