- 博客(8)
- 资源 (3)
- 收藏
- 关注
转载 安装ansible
Ubuntu (Apt)安装 add-apt-repository 必要套件。$ sudo apt-get install -y python-software-properties software-properties-common 使用 Ansible 官方的 PPA 套件来源。$ sudo add-apt-repository -y ppa:ansible/ansible; sudo ap...
2018-05-21 14:15:36 231
转载 centos配置源
1.配置源(centos6)yum install http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm2.下载配置文件 CentOS6-Base-163.repowget http://mirrors.163.com/.help/CentOS6-Base-163.repo Ce...
2018-05-21 14:13:29 142
转载 解决intellij idea控制台中文乱码
解决第一步:修改intellij idea配置文件:找到intellij idea安装目录,bin文件夹下面idea64.exe.vmoptions和idea.exe.vmoptions这两个文件,分别在这两个文件中添加:-Dfile.encoding=UTF-8第二步:找到intellij idea的file---settings---Editor---FileEncodings的Global...
2018-05-17 10:50:31 182
原创 springcloud 使用bus消息总线更新配置 config日志打印接受了刷新请求,但是并没有刷新
在config client 控制层上加上注解@RefreshScope参考:https://www.cnblogs.com/andyfengzp/p/6835969.html
2018-04-30 23:54:43 995 1
原创 idea报错Module Project1 must not contain source root "...\Project1\src". The root already belongs to m
1.open module settings2.选择modules,选择根模块,删除add content root 下面不直接属于根模块的目录即可。
2018-04-29 13:55:00 5200 1
原创 windows按照 rabbitqmq 出现Authentication failed (rejected by the remote node)
执行命令rabbitmqctl status出现 Authentication failed (rejected by the remote node), please check the Erlang cookie ( Erlang:otp_win64_20.3.exerabbitmq:rabbitmq-server-3.7.4.exe)将C:\Windows\System32\config...
2018-04-28 09:15:37 808
转载 idea springboot或者属性中文乱码
解决办法设置 File Encodings的Transparent native-to-ascii conversion为true,具体步骤如下:依次点击File -> Settings -> Editor -> File Encodings将Properties Files (*.properties)下的Default encoding for properties file...
2018-04-24 09:35:56 417
原创 freemarker 使用word模版导出word
创建一个word.doc,如下图:另存为XML格式,如下图:将word.xml放入项目中,重命名为word.ftl,(list循环数据格式需要修正)Configuration cfg=new Configuration(); cfg.setClassForTemplateLoading(FreeMarkerUtil.class,"/template"); cfg.setDefaultEncodin...
2018-04-15 17:02:23 313
Spring+SpringMVC+Hibernate简单案例
2018-03-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人