加载中
测试kafka不同版本的连接方式

准备工作 1.下载kafka不同版本 https://kafka.apache.org/downloads 2.因为测试协议,所以部署单机测试就行,参考:https://www.jianshu.com/p/55a790024bd0 启动kafka内的zookeeper nohup ....

2022/10/20 00:00
68
mac升级系统的坑

问题1.env: python: No such file or directory 解决:ln -s -f /usr/local/bin/python3 /usr/local/bin/python 问题2. homebrew-core is a shallow clone. homebrew-cask is a shallow clo...

ECLIPSE MAT – INCOMING REFERENCES, OUTGOING REFERENCES

Eclipse Memory Analyzer (MAT)是一个用于堆转储分析的强大工具。它有几个很好的特性可以有效地调试内存问题。‘incoming references’, ‘outgoing references’ 用就是这样一种特性。在本文...

2021/03/07 22:27
57
mybatis-generator-maven-plugin Exception getting JDBC Driver

org.mybatis.generator mybatis-generator-maven-plugin 1.3.5

2020/09/08 15:43
254
Java一个汉字UTF-8编码占用字节

Unicode Utf-8 000000-00007F 0xxxxxxx 000080-0007FF 110xxxxx 10xxxxxx 000800-00FFFF 1110xxxx 10xxxxxx 10xxxxxx 010000-10FFFF 11110xxx10xxxxxx10xxxxxx10xxxxxx 那么一个汉字 可能是 ...

2020/09/05 15:20
451
SpringSecurity 中不能抛出 UserNameNotFoundException

在使用 SpringSecurity 作为用户登录的组件,但是在使用中不能抛出UserNameNotFoundException,查看代码,发现在AbstractUserDetailsAuthenticationProvider类中,有如下代码 那么处理逻辑就...

2020/05/13 16:19
2.5K
布隆过滤器Bloom Filter

布隆过滤器可以用于检索一个元素是否在一个集合中。它的优点是空间效率和查询时间都远远超过一般的算法,缺点是有一定的误识别率和删除困难。 布隆过滤器的原理是,当一个元素被加入集合时,...

2020/04/21 15:18
65
macOS debugserver or lldb-server not found

在mac中使用Goland,已经安装好go的环境,但是在使用调试的功能,会有如下的错误: could not launch process: debugserver or lldb-server not found: install XCode's command line tools...

2020/04/21 11:03
2.2K
8u111-jdk-alpine缺少FontConfiguration

使用easyExcel作为wxcel的处理,在本地调试什么的没有问题,但是打镜像部署的时候,在日志中发现如下错误 java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontCon...

2020/04/09 21:13
1.9K
升级macOS catalina遇到的问题

遇到的问题,网上已经有人给我解决了 一个是微信的截图需要设置下: 另一个是IDE对git的报错

2020/02/24 11:05
375
mongo Authentication failed记录

虽然用的管理员账号,但是还是出现了以下的错误: 主要看后面的错误信息: { "ok" : 0.0, "errmsg" : "Authentication failed.", "code" : 18, "codeName" : "AuthenticationFailed" } 在想管...

2020/02/22 11:33
4.2K
番茄工作法

番茄工作法是一种时间管理法,该方法使用一个定时器来分割出一个一般为25分钟的工作时间和5分钟的休息时间。 茄工作法有五个基本步骤: 决定待完成的任务 设定番茄工作法定时器至 n 分钟(通...

2020/02/06 17:34
254
plantuml画流程图

#plantuml画图 PlantUML 是一个画图脚本语言,用它可以快速地画出: 时序图 流程图 用例图 状态图 组件图 在markdown中的使用方式 ##时序图 @startuml Alice -> Bob: Authentication Request...

2020/02/06 00:34
8.9K
apache2服务

ubuntu 安装 sudo apt-get install apache2 但是不能启动有如下的错误: 网上提示删了重新安装一下,但是没有用,乱投医: 1.sudo apt-get --reinstall install apache2-bin 2.sudo apt-get ...

2020/02/06 00:29
101
markdown flow流程图

markdown使用flow来画流程图 在markdown语法中,流程图的画法和代码段类似,也就是说,流程图是写在两个 ``` 之间的。 基本使用下面的六种类型,名“符”其实。 start end operation subrou...

2020/02/05 15:22
6.1K
markdown语法备忘

-------------- =============== # 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ###### 六级标题 ` hello world` ``` for (char c : word.toCharArray()) { if (tSeen...

2020/02/05 12:59
153
使用moco单元测试

在项目中,除了查询数据库,还要调用外部的服务,这这时候我们在写单元测试的时候,会考虑怎么覆盖着一块代码: 1.封装一个方法,然后mock这个方法。 2.直接配置好调用的服务,测试的时候调用...

2020/01/26 20:02
613
异常记录 Cannot call sendError() after the response has been committed

org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageCon...

2019/10/25 19:36
2K

没有更多内容

加载失败,请刷新页面

返回顶部
顶部