上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 问题: docker run -p 40002:40002 intelligent-posture-image no main manifest attribute, in /intelligent-posture-image.jar 原因:这个问题主要是因为MANIFEST.MF文件内没有指定启动 阅读全文
posted @ 2022-02-24 19:57 呱呱二号 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 引起 Invalid bound statement (not found) 问题的常见原因: 第一种:*Mapper.xml 和 *Mapper.java 映射对应错误 第二种:*Mapper.xml 和 *Mapper.java 的接口对应错误 第三种:*Mapper.xml 放进去了 src 阅读全文
posted @ 2022-02-23 12:00 呱呱二号 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 在查看 Euereka Server 的时候发现有很多相同日志打印: Running the evict task with compensationTime 0ms。看着特别的不舒服,参考多篇文章后,找到以下方法,提高eureka中com.netflix包的日志打印级别为 warn 即可。 #关闭 阅读全文
posted @ 2022-02-22 20:41 呱呱二号 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: 根据gateway访问其他微服务,提示错误 Name or service not known 在 Eureka 是正常注册的 但是注意到Eureka 使用的是 docker 的容器id 将微服务配置改为以下,即可解决问题 eureka: instance: prefer-ip-address: t 阅读全文
posted @ 2022-02-21 20:36 呱呱二号 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 前提:你已经安装了Docker 创建数据卷 docker volume create portainer_data 安装 portainer docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker 阅读全文
posted @ 2022-02-17 16:57 呱呱二号 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 参考 docker 官方文档 https://docs.docker.com/compose/install/ 运行下面的脚本,下载文档版本 docker compose 文件 curl -L https://github.com/docker/compose/releases/download/1 阅读全文
posted @ 2022-02-11 14:02 呱呱二号 阅读(67) 评论(0) 推荐(0) 编辑
摘要: fastjson 入门指导 http://kimmking.github.io/2017/06/06/json-best-practice/ https://github.com/alibaba/fastjson/wiki/JSONField 阅读全文
posted @ 2022-02-09 14:14 呱呱二号 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 一. 创建 Pods 1 根据YAML配置创建 Pods 配置文件 pod.yaml 内容如下 apiVersion: v1 kind: Pod metadata: name: happypanda spec: containers: - name: nginx image: nginx 2 运行命 阅读全文
posted @ 2022-02-08 14:51 呱呱二号 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 一. 创建命名空间的两种方式 方式一 创建命名空间 kubectl create namespace dev-service1 方式二 2.1 根据YAML配置创建命名空间 配置文件 test-namespace.yaml 内容如下 kind: Namespace apiVersion: v1 me 阅读全文
posted @ 2022-02-08 14:37 呱呱二号 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 输入命令:ssh-keygen -t rsa,一路enter [root@VM-4-8-centos git]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key 阅读全文
posted @ 2022-01-21 18:50 呱呱二号 阅读(326) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页