错误解决
解决错误
idbanfan
这个作者很懒,什么都没留下…
展开
-
[错误解决] windows 修改环境变量后在vscode 的终端不生效
删除settings.json中的 "terminal.integrated.env.windows"字段。原创 2024-07-02 17:26:57 · 487 阅读 · 0 评论 -
[错误解决] SpringBoot 报错 Web server failed to start. Port 8080 was already in use.
【代码】[错误解决] SpringBoot 报错 Web server failed to start. Port 8080 was already in use.原创 2022-10-29 01:08:03 · 116 阅读 · 0 评论 -
[Windows] bat查看端口占用命令, 并且关闭对应进程
【代码】[Windows] bat查看端口占用命令, 并且关闭对应进程。原创 2022-10-29 01:06:42 · 880 阅读 · 0 评论 -
[错误解决] Spring Boot Swagger 启动报错 getPatterns(WebMvcPatternsRequestConditionWrapper.java:56)
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency>[错误]at springfox.documentati..原创 2022-01-25 21:18:14 · 4794 阅读 · 0 评论 -
[错误解决] Linux SSH 自动断开
[问题] Linux SSH 自动断开[方法] 修改心跳次数echo "# 每隔20s向服务器发送一次心跳;若超过999次请求都没有发送成功,则主动断开与服务器端的连接ServerAliveInterval 20ServerAliveCountMax 999" >> /etc/ssh/ssh_configreboot...原创 2021-11-03 15:58:44 · 260 阅读 · 0 评论 -
[错误解决] SpringBoot 整合 Nacos NoClassDefFoundError ConfigurationBeanFactoryMetadata
[问题] 使用版本0.2.10出现Error creating bean with name ‘nacosConfigurationPropertiesBinder’: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.boot.nacos.config.原创 2021-11-03 10:15:12 · 4550 阅读 · 0 评论 -
[错误解决] Nacos服务注册 server is DOWNnow : Optional[Distro protocol is not initialized]
[错误]server is DOWNnow, detailed error message: Optional[Distro protocol is not initialized][方法] 改为单机模式如果是docker 容器运行时增加以下参数-e MODE=standalone原创 2021-11-03 12:06:10 · 6235 阅读 · 2 评论 -
[错误解决] [Java] iphone 华为 搜狗 手机 浏览器 下载文件 名称乱码
String disposition = "attachment;filename*=utf-8'zh_cn'" + URLEncoder.encode(name, "utf-8"); //非iphoneif (StringUtils.isNotEmpty(userAgent) && userAgent.contains("iPhone")){ disposition = "attachment;filename*=utf-8'zh_cn'" + name; }response原创 2021-11-03 15:16:17 · 340 阅读 · 0 评论 -
[错误解决] [jenkins] [docker] Maven JVM terminated unexpectedly with exit code 137
[原因] 物理机内存不够[解决] 给linux增加虚拟内存[详细]如果是阿里云的服务器,需要编辑/etc/rc.d/rc.local文件,将文件中的swapoff行注释或删掉。vi /etc/rc.d/rc.local#swapoff -a创建交换关系 (增加2G虚拟内存,交换文件为/mnt/swapfile)dd if=/dev/zero of=/mnt/swapfile bs=1M count=2048创建swap文件/sbin/mkswap -f /mnt/swapfi原创 2021-09-26 10:53:40 · 436 阅读 · 0 评论