magnussen1996
随便写写

导航

 

2019年1月21日

摘要: 因为之前提示输入用户名和密码时输入错误,之后就一直权限认证失败。这种情况下在git bash中输入: git config --system --unset credential.helper 就会重新提示输入用户名和密码,输入正确就可以进行pull或push操作。 阅读全文
posted @ 2019-01-21 16:26 magnussen1996 阅读(1629) 评论(0) 推荐(0) 编辑
 

2019年1月20日

摘要: springboot中dubbo依赖的引入和配置(application.properties)参见:https://blog.csdn.net/wohaqiyi/article/details/72967805。 需要注意的是在消费方工程里,controller包可以不必放到service包下(我 阅读全文
posted @ 2019-01-20 11:59 magnussen1996 阅读(659) 评论(0) 推荐(0) 编辑
 

2019年1月15日

摘要: 参见https://www.cnblogs.com/winner-0715/p/6666579.html。 阅读全文
posted @ 2019-01-15 20:51 magnussen1996 阅读(143) 评论(0) 推荐(0) 编辑
 

2019年1月13日

摘要: 1.接口类(指*Mapper.java)在spring中注册的问题 当控制台打印如下信息: A component required a bean named '*Mapper' that could not be found. 意思是spring找不到这个bean,也就是说这个类没有在spring 阅读全文
posted @ 2019-01-13 18:44 magnussen1996 阅读(1962) 评论(0) 推荐(1) 编辑
 

2019年1月2日

摘要: 今天首次接触redis,遇到一些问题,查了一些资料,在这里汇总整理下。 redis的安装看这个:http://www.runoob.com/redis/redis-install.html。 问题1:redis安装成功,但是没有redis服务。 创建redis服务看这个:https://blog.c 阅读全文
posted @ 2019-01-02 21:30 magnussen1996 阅读(132) 评论(0) 推荐(0) 编辑
 

2018年12月28日

摘要: 在hosts文件中添加如下内容: 192.30.253.112 github.com192.30.253.119 gist.github.com151.101.100.133 assets-cdn.github.com151.101.100.133 raw.githubusercontent.com 阅读全文
posted @ 2018-12-28 17:59 magnussen1996 阅读(6649) 评论(2) 推荐(1) 编辑
 

2018年12月27日

摘要: 今天在公司和同事聊天的时候,突然发现自己对java中的throw、throws和try catch的作用理解不够准确,在网上查了查,在此大概梳理一下。 throw用于抛出异常,例如 throw new NullPointerException(); 就是抛出一个空指针异常。异常抛出后程序终止,除非用 阅读全文
posted @ 2018-12-27 20:53 magnussen1996 阅读(2177) 评论(0) 推荐(0) 编辑
 

2018年12月26日

摘要: 使用openvpn连接公司内网以进行git操作。以管理员身份运行openvpn gui,一段时间后提示连接成功,右下角图标变成绿色,但是进行git操作,每次都发生失败,提示连接不上。右键点击openvpn的图标,选择view log,拉到最下面可以看到“Initialization Sequence 阅读全文
posted @ 2018-12-26 10:18 magnussen1996 阅读(332) 评论(0) 推荐(0) 编辑
 
摘要: 如上图,设置build process heap size(Mbytes)(构建过程堆大小(单位MB))为4000,即约4GB。之前设置的是700,修改之后问题解决。 补充:导入新项目后,此参数会初始化为700,此时可能需要重新设置。 阅读全文
posted @ 2018-12-26 09:48 magnussen1996 阅读(723) 评论(0) 推荐(0) 编辑