会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mangoubiubiu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
44
下一页
2021年9月15日
maven 手动将 jar 包导入本地仓库
摘要: 1 问题分析 jar 包下不下来 ,下不到本地maven 仓库(阿里云镜像) 2 解决方案 一 去maven官方仓库手动下载jar包 二 打开cmd 或者git 命令窗口输入 $ mvn install:install-file -DgroupId=com.github.kuhn-he -Darti
阅读全文
posted @ 2021-09-15 22:53 KwFruit
阅读(168)
评论(0)
推荐(0)
2021年9月14日
Apollo报:系统出错,请重试或联系系统负责人
摘要: 1 eureka 地址改成自己的 不要用localhost 2 重启Apollo 重启 后还报错 等一会就好了 日志一直显示 连接超时 有可能 apollo config 没启动起来 健康检查 成功后就完事了
阅读全文
posted @ 2021-09-14 22:22 KwFruit
阅读(1310)
评论(0)
推荐(0)
2021年9月7日
Docker 搭建Apollo 配置中心
摘要: 1 官方文档 https://github.com/apolloconfig/apollo/wiki/%E5%88%86%E5%B8%83%E5%BC%8F%E9%83%A8%E7%BD%B2%E6%8C%87%E5%8D%97#23-docker%E9%83%A8%E7%BD%B2 2 Docke
阅读全文
posted @ 2021-09-07 22:37 KwFruit
阅读(166)
评论(0)
推荐(0)
2021年9月6日
Docker 安装 Docker-Compose
摘要: 1 下载 Docker-Compose https://www.cnblogs.com/mangoubiubiu/p/14092792.html 2 安装Docker-Compose 一 将文件移动到CentOS 7上 改名 mv docker-compose-Linux-x86_64 docker
阅读全文
posted @ 2021-09-06 22:58 KwFruit
阅读(98)
评论(0)
推荐(0)
Docker 安装 MySql
摘要: 一 拉取镜像 1 进入道客网络镜像市场 https://hub.daocloud.io/repos/fa51c1d6-9dc2-49d9-91ac-4bbfc24a1bda 复制 执行 docker pull daocloud.io/library/mysql:5.6.24 二 运行容器 启动容器
阅读全文
posted @ 2021-09-06 21:08 KwFruit
阅读(62)
评论(0)
推荐(0)
2021年9月5日
CentOs 7安装Docker环境
摘要: 一 安装Docker 1. 下载关于Docker的依赖环境 yum -y install yum-utils device-mapper-persistent-data lvm2 2. 设置一下Docker的镜像源 yum-config-manager --add-repo http://mirro
阅读全文
posted @ 2021-09-05 22:52 KwFruit
阅读(42)
评论(0)
推荐(0)
VirtualBox+Vagrant 快速初始化 CentOs 7
摘要: 一 安装好 VirtualBox+Vagrant(此处省略) 遇到问题: Vagrant2.2.5无法使用VirtualBox6.1.8解决方案 https://blog.csdn.net/weixin_43838639/article/details/106210459 二 初始化 1 打开cmd
阅读全文
posted @ 2021-09-05 22:38 KwFruit
阅读(89)
评论(0)
推荐(0)
2021年8月10日
Spring注解驱动开发——自动装配 @Pofile根据环境注册bean
摘要: Profile: Spring为我们提供的可以根据当前环境,动态的激活和切换一系列组件的功能; 开发环境、测试环境、生产环境; 数据源:(/A)(/B)(/C); @Profile:指定组件在哪个环境的情况下才能被注册到容器中,不指定,任何环境下都能注册这个组件。1)丶加了环境标识的bean ,只有
阅读全文
posted @ 2021-08-10 23:18 KwFruit
阅读(107)
评论(0)
推荐(0)
2021年8月9日
Spring注解驱动开发——自动装配 Aware注入Spring 底层组件&原理
摘要: 1丶自定义组件想要使用Spring容器底层的一些组件(ApplicationContext,BeanFactory,xxx);自定义组件实现xxxAware;在创建对象的时候,会调用接口规定的方法注入相关组件;Aware; 把Spring底层的一些组件注入到自定义的Bean中; xxxAware:
阅读全文
posted @ 2021-08-09 23:01 KwFruit
阅读(86)
评论(0)
推荐(0)
2021年8月8日
Spring注解驱动开发——自动装配 方法,构造器位置的自动装配
摘要: @Autowired构造器 方法 参数 属性;都是从容器中获取参数组件的值 1 【标在方法位置】;@Bean + 方法参数;参数从容器中获取;默认不写@Autowired效果是一样的;都能自动装配;2 标在构造器上 如果组件只有一个有参构造器,这个有参构造器的@Autowired 可以省略,参数位置
阅读全文
posted @ 2021-08-08 23:05 KwFruit
阅读(126)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
44
下一页
公告