官方地址:http://docs.minio.org.cn/docs/master/minio-docker-quickstart-guide 拉取镜像 docker pull minio/minio 启动 docker run -p 9000:9000 --name minio1 \ -e "MI ...
分类:
系统相关 时间:
2021-06-25 17:04:33
阅读次数:
0
生产中有很多形式的的配置方式,本文仅分析注解配置。对于其他形式的配置区别主观以为主要在配置文件的解析过程不同,不一一分析了。本文以利用Dubbo框架开发rpc服务端为例详细阐述配置类的解析、数据保存、实例化以及注入到容器中。 通常,涉及到配置参数的框架类,基本都离不开配置的解析及配置的保存;至于配置 ...
分类:
编程语言 时间:
2021-06-25 16:59:48
阅读次数:
0
这个错误的出现一般是SpringBoot的启动类(类名上面有@SpringBootApplication注解 )与controller包不在同一个目录下,解决方案就是把启动类和controller包放在同目录下就可以啦。 这个错误出现需要将Controller层中的@Controller注解改为@R ...
分类:
移动开发 时间:
2021-06-25 16:59:24
阅读次数:
0
1.饼图怎么调整左右位置 只需要调整option.series里的center: ['30%', '50%'] series : [ { name: '访问来源', type: 'pie', radius : '55%', center: ['30%', '50%'], // 这个代码~~ data ...
分类:
其他好文 时间:
2021-06-25 16:55:08
阅读次数:
0
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e ...
分类:
其他好文 时间:
2021-06-25 16:53:38
阅读次数:
0
1.在settings中开启Cookie COOKIES_ENABLED = True 2.重写 start_requests方法 初始化开始url(方便添加cookie) 列: from scrapy import Request class ASpider(CrawlSpider): name ...
分类:
其他好文 时间:
2021-06-25 16:45:37
阅读次数:
0
mysql引擎 create table t_mysql ( id Int32, name String, ) engine = MySQL('127.0.0.1:3306', 'test', 't', 'root', '123456'); mysql进行ddl: alter table t mod ...
分类:
其他好文 时间:
2021-06-25 16:44:37
阅读次数:
0
###linux操作命令补充 vi编辑文本 命令模式下 gg 移动光标到行首 ngg 移动光标到某一行 G 移动光标到行尾 0 移动光标到某一行的最前面 $ 移动光标到某一行的最后面 yy 复制一行 nyy 复制某n行 p 粘贴 dd 删除一行 ndd 删除某n行 u 撤销 查找文件 find /h ...
分类:
系统相关 时间:
2021-06-24 18:16:51
阅读次数:
0
[nginx@p0-hfssp-healthos-web02 sbin]$ sudo ./nginx -s reloadnginx: [error] invalid PID number "" in "/home/nginx/openresty/nginx/logs/nginx.pid" 发生这个错 ...
分类:
其他好文 时间:
2021-06-24 18:14:17
阅读次数:
0
1.@Transactional修饰的方法为非public方法,这个时候@Transactional会实现。失败的原理是:@Transactional是基于动态代理来实现的,非public的方法,他@Transactional的动态代理对象信息为空,所以不能回滚。 2.在类内部没有添加@Transa ...
分类:
其他好文 时间:
2021-06-24 18:13:10
阅读次数:
0