摘要: 连接已关闭问题 如以下提示 NOTICE swFactoryProcess_finish (ERRNO 1004): send 165 byte failed, because connection[fd=123] is closedCopy to clipboardErrorCopied NOTI 阅读全文
posted @ 2020-05-19 21:38 做人如水,做事如山 阅读(5301) 评论(0) 推荐(0) 编辑
摘要: docker默认镜像拉取地址为国外仓库下载速度较慢,则会报错“net/http: TLS handshake timeout”。 此时,只需要将拉取地址改为国内镜像仓库即可。 标准格式为: docker pull registry.docker-cn.com/myname/myrepo:mytag 阅读全文
posted @ 2020-04-06 16:14 做人如水,做事如山 阅读(16714) 评论(0) 推荐(2) 编辑
摘要: systemctl network start 找不到命令是因为 centos8没有了network 而是nmcli 代替了 1 排查 本机的ip netmask mac地址是否一致 2 mac机 ifconfig 我的虚拟机使用是nat模式 如果是桥接模式就看vmnet1 如果子网掩码是乱码 就看 阅读全文
posted @ 2020-04-06 13:57 做人如水,做事如山 阅读(2370) 评论(0) 推荐(0) 编辑
摘要: 出现问题 { "timestamp": 1583769258574, "status": 500, "error": "Internal Server Error", "exception": "org.springframework.http.converter.HttpMessageNotWri 阅读全文
posted @ 2020-03-09 23:57 做人如水,做事如山 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 类不存在 原因分析 是junit5升级了 框架没有兼容 解决办法 1 改写pom.xml <!--测试模块--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test 阅读全文
posted @ 2020-03-08 18:36 做人如水,做事如山 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: 1 配置application.yml spring: datasource: username: root password: root url: jdbc:mysql://127.0.0.1:3306/jdbc driver-class-name: com.mysql.jdbc.Driver # 阅读全文
posted @ 2020-03-08 11:47 做人如水,做事如山 阅读(217) 评论(0) 推荐(0) 编辑
摘要: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-03-05 14:19 做人如水,做事如山 阅读(287) 评论(0) 推荐(0) 编辑
摘要: rabbitmq 开启启动 1 vim /etc/init.d/rabbitmq-server 写入一下开启配置shell #!/bin/sh # # rabbitmq-server RabbitMQ broker # # chkconfig: 2345 80 05 # description: E 阅读全文
posted @ 2020-03-02 17:31 做人如水,做事如山 阅读(1687) 评论(0) 推荐(0) 编辑
摘要: 解决maven打war包报错 二、问题分析:不能执行依赖包maven-compiler-plugin:3.8.1,判断原因是缺少这个jar包 三、问题解决:打开pom.xml文件,在适当位置加入下列依赖: <dependency><groupId>org.apache.maven.plugins</ 阅读全文
posted @ 2020-02-29 16:34 做人如水,做事如山 阅读(38226) 评论(0) 推荐(1) 编辑
摘要: 使用代码 在嵌套使用循环的时候 要注意循环引用的问题 demo $arr = [ 'a', 'b', 'c', 'd', ]; foreach ($arr as &$each){ var_dump($arr); } foreach ($arr as $each){ var_dump($arr); } 阅读全文
posted @ 2020-02-21 16:06 做人如水,做事如山 阅读(695) 评论(0) 推荐(0) 编辑