会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
遥远2
博客园
新随笔
管理
上一页
1
···
22
23
24
25
26
27
28
29
30
···
37
下一页
2019年2月18日
sofa-boot(1)helloworld项目
摘要: 本示例参考:https://www.sofastack.tech/sofa-boot/docs/QuickStart 示例采用sofa-boot 3.1.1版本。 如下步骤: 1、进入https://start.spring.io/,生成web项目 一定要勾选下边的web依赖,否则无法启动,因为没有
阅读全文
posted @ 2019-02-18 12:01 遥远2
阅读(584)
评论(0)
推荐(0)
2019年2月15日
分布式事务框架-fescar
摘要: https://github.com/alibaba/fescar/wiki/%E6%A6%82%E8%A7%88?spm=5176.11156381.0.0.b9f85ceegUXvCC
阅读全文
posted @ 2019-02-15 15:35 遥远2
阅读(119)
评论(0)
推荐(0)
2019年2月14日
github访问慢解决
摘要: 参考:https://github.com/chenxuhua/issues-blog/issues/3 首先,访问https://www.ipaddress.com/,搜索以下域名对应的ip地址 github.com assets-cdn.github.com github.global.ssl.
阅读全文
posted @ 2019-02-14 17:05 遥远2
阅读(169)
评论(0)
推荐(0)
mongodb在windows下安装
摘要: 下载地址:https://www.mongodb.com/download-center/community 我下载的是zip版本 新建目录:data |_db |_log cmd到所下载的mongodb的bin目录下执行, 然后在浏览器中,输入:http://localhost:27017/ 说明
阅读全文
posted @ 2019-02-14 15:24 遥远2
阅读(136)
评论(0)
推荐(0)
2019年2月13日
eclipse安装阿里规范模板
摘要: https://github.com/alibaba/p3c/tree/master/p3c-formatter 1、代码模板(含注释等) 2、代码格式化
阅读全文
posted @ 2019-02-13 17:04 遥远2
阅读(187)
评论(0)
推荐(0)
线程池(8)创建标准线程池代码
摘要: 阿里规范要求的标准做法2 hutool创建ThreadFactory 输出: 15:11:16.098 test-pool-0 15:11:16.098 test-pool-1 15:11:16.098 test-pool-2 15:11:18.101 test-pool-1 15:11:18.10
阅读全文
posted @ 2019-02-13 15:16 遥远2
阅读(434)
评论(0)
推荐(0)
线程池(7)创建标准线程池代码
摘要: 创建线程池,阿里规范插件要求: 1、采用ThreadPoolExecutor,而不是Executors 2、采用自定义ThreadFactory,便于为线程命名。 输出: ThreadTest1ThreadTest2ThreadTest32019-02-13 14:21:34.263 [] INFO
阅读全文
posted @ 2019-02-13 14:27 遥远2
阅读(339)
评论(0)
推荐(0)
轻量级RPC框架-motan
摘要: https://github.com/weibocom/motan/wiki/zh_quickstart#%E7%AE%80%E5%8D%95%E8%B0%83%E7%94%A8%E7%A4%BA%E4%BE%8B 实现了 1、rpc(同步、异步) 2、rest 3、集群(注册中心:zk 或 con
阅读全文
posted @ 2019-02-13 09:40 遥远2
阅读(144)
评论(0)
推荐(0)
2019年2月11日
报错:The valid characters are defined in RFC 7230 and RFC 3986
摘要: 访问 spring boot controller时,报错:The valid characters are defined in RFC 7230 and RFC 3986 1、特殊符号 新增红色行,解决。 原因:tomcat9不允许特殊字符传送 以上解决的是 特殊符号作为参数传递的问题。但是,参
阅读全文
posted @ 2019-02-11 13:35 遥远2
阅读(1100)
评论(0)
推荐(0)
2019年2月2日
spring boot 入参方式
摘要: 方式: 1)、直接写,如public User index2(String name) 2)、@RequestParam 与直接写的区别是,可以写默认值。 3)、@RequestBody 因为传入的是String类型的json,所以可以使用String类型,如:@RequestBody String
阅读全文
posted @ 2019-02-02 18:39 遥远2
阅读(578)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
37
下一页
公告