随笔分类 -  开发备忘

摘要:约定优于配置是springboot简化配置的思路,其中它提供的自动配置、基于注解配置为我们搭建项目框架带来了很大的便利。 使用springboot的项目跟仅使用spring的项目相比,少了很多xml配置文件,基于自动配置或者使用注解和配置类就可完成大多数配置。 springboot + dubbo搭 阅读全文
posted @ 2020-09-19 12:24 cdfive 阅读(3886) 评论(0) 推荐(0)
摘要:记录今天调试chrome中一个后端接口,通过cUrl导入到postman中测试,修改body里数据遇到的问题。 body类型是x-www-form-urlencoded,key为data,值为json格式,有url编码。 { "id" : 0, "depotId" : "34365148653568 阅读全文
posted @ 2020-08-15 21:57 cdfive 阅读(2149) 评论(0) 推荐(0)
摘要:老项目(非SpringBoot)使用Spring+Dubbo,主要xml+部分注解配置。 通过com.alibaba.dubbo.container.Main.main(args);启动容器,使用maven-shade-plugin插件打包。 需要注意的是,如果自定义了Dubbo或Sentinel的 阅读全文
posted @ 2020-07-26 22:28 cdfive 阅读(2445) 评论(0) 推荐(0)
摘要:服务器密码修改后,mac终端使用ssh连接,报错提示: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@ 阅读全文
posted @ 2020-07-03 15:15 cdfive 阅读(658) 评论(0) 推荐(0)
摘要:参数分类 以-开头,标准参数,所有的JVM实现都必须实现这些参数的功能,且向后兼容 如:-verbose:gc、-verbose:class等 以-X开头,非标准参数,默认jvm实现这些参数的功能,但是并不保证所有jvm实现都满足,且不保证向后兼容 如-Xms256m -Xmx512m等 以-XX开 阅读全文
posted @ 2020-03-03 22:34 cdfive 阅读(571) 评论(0) 推荐(0)
摘要:常用 spring start https://start.spring.io/ spring-boot配置 https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmlsingle/#common-application- 阅读全文
posted @ 2020-02-17 15:31 cdfive 阅读(167) 评论(0) 推荐(0)
摘要:工作中突然发现IDEA里的Ctrl+Alt+Left/Right失效了,即导航光标的回退和前进,影响看代码的效率。 用Windows Hotkey Explorer查看,发现是被 igfxHK.exe 进程占用了。 百度下该进程: igfxem.exe进程是正常的进程。是intel家的核显驱动类的进 阅读全文
posted @ 2019-08-10 16:53 cdfive 阅读(3497) 评论(0) 推荐(0)
摘要:记录日常使用Chrome遇到的问题。 audio控件播放音频问题 打开http://www.cdfive.com,发现音乐没有自动播放,F12打开控制台发现有如下报错: Uncaught (in promise) DOMException 原因:chrome的自动播放(autoplay)设置。 解决 阅读全文
posted @ 2019-07-03 11:07 cdfive 阅读(323) 评论(0) 推荐(0)
摘要:解压修改后再打包 解压: jar xvf xxx.jar 打包: jar cvfm0 xxx.jar META-INF/MANIFEST.MF ./ 注: -m参数可以将 一个具体的mainfest文件打包进入jar内生成mainfest文件,否则运行jar会报no main manifest at 阅读全文
posted @ 2019-06-23 11:32 cdfive 阅读(9787) 评论(0) 推荐(0)
摘要:场景 Bean定义如下,仅有一个类型为Integer的age字段。 @NoArgsConstructor @AllArgsConstructor(staticName = "of") @Data public static class Employee { private Integer age; 阅读全文
posted @ 2019-05-26 22:29 cdfive 阅读(3827) 评论(0) 推荐(1)
摘要:今天找到篇blog,终于把win10下EditPlus不能拖拽打开文件的问题解决了:) 记录下备忘。之前通过注册表的方式添加到右键菜单,当时设置了EditPlus以管理员身份运行; 解决办法=>以普通方式运行editplus:右键EditPlus.exe,以管理员身份运行此程序的勾去掉 参考: wi 阅读全文
posted @ 2018-09-14 09:47 cdfive 阅读(552) 评论(0) 推荐(0)
摘要:dubbo请求调用过程分析 https://blog.csdn.net/javahongxi/article/details/72876694 浅谈dubbo的ExceptionFilter异常处理 https://blog.csdn.net/mj158518/article/details/512 阅读全文
posted @ 2018-09-05 14:37 cdfive 阅读(450) 评论(0) 推荐(0)
摘要:SKU=Stock Keeping Unit(库存量单位)SPU(Standard Product Unit):标准化产品单元 阅读全文
posted @ 2018-09-02 22:39 cdfive 阅读(102) 评论(0) 推荐(0)
摘要:命令如下: git clone xxx-fork.git git remote add xxx xxx.git git fetch xxx git merge xxx/master git push origin master 参考:https://blog.csdn.net/zwhlxl/arti 阅读全文
posted @ 2018-09-02 16:42 cdfive 阅读(1109) 评论(0) 推荐(0)
摘要:Markdown 编辑器语法指南 https://segmentfault.com/markdown/ 阅读全文
posted @ 2018-09-02 16:15 cdfive 阅读(159) 评论(0) 推荐(0)
摘要:Spring-boot中Conditional介绍 https://blog.csdn.net/tanga842428/article/details/78615070springBoot @ConditionalOnxxx相关注解总结 https://www.cnblogs.com/yixiany 阅读全文
posted @ 2018-08-30 09:23 cdfive 阅读(96) 评论(0) 推荐(0)
摘要:https://www.iflym.com/index.php/code/use-java-develop-compile-annotated-aspectj-programe.htmlspringboot aop 不生效 https://blog.csdn.net/gefangshuai/arti 阅读全文
posted @ 2018-08-29 12:44 cdfive 阅读(134) 评论(0) 推荐(0)
摘要:GitHub秘籍,为你解读Git与Github酷而少知的功能 https://www.xuanfengge.com/github-cheats.htmlgithub wiki pull request https://stackoverflow.com/questions/10642928/how- 阅读全文
posted @ 2018-08-28 23:53 cdfive 阅读(98) 评论(0) 推荐(0)
摘要:github 向开源框架提交pr的过程 https://blog.csdn.net/vim_wj/article/details/78300239github 的 pr 使用方法 https://www.jianshu.com/p/a6b199dc2b34https://github.com/isa 阅读全文
posted @ 2018-08-28 23:45 cdfive 阅读(298) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/7601ba434ff4 阅读全文
posted @ 2018-08-28 15:13 cdfive 阅读(734) 评论(0) 推荐(0)