- 博客(4)
- 收藏
- 关注
转载 SpringBoot 集成 RabbitMQ 学习
SpringBoot 集成 RabbitMQ 学习新建RabbitMQ环境在linux服务器中通过docker快速搭建RabbtMQ服务查询rabbitMQ镜像:management版本,不指定默认为最新版本latest docker search rabbitmq:management但因为我的镜像地址出现问题,报错docker search rabbitmq:managementError response from daemon: Get "https://index.docker.
2022-01-25 13:48:41 84
原创 NIO 基础
NIO 基础字符串与ByteBuffer 互转// 1. 字符串转为 ByteBuff// 首先分配一个16字节大小的byteBuffByteBuffer byteBuffer = ByteBuffer.allocate(16);// 然后将“你好”的字节数组填充到 byteBuff 中byteBuffer.put("你好".getBytes(StandardCharsets.UTF_8));// 2. 或者通过Charset 的 encode方法获取 _byteBuffByteBuff
2021-07-28 09:30:26 89
原创 springboot使用mongoTmeplate操作出现权限不足问题
springboot使用mongoTmeplate操作出现权限不足问题错误提示:Command failed with error 13 (Unauthorized): ‘command insert requires authentication’ on server 122.51.240.229:27017. The full response is {“ok”: 0.0, “errms...
2019-12-07 15:59:19 2683
原创 IDEA的tomcat日志输出乱码问题的解决
idea的tomcat日志输出乱码问题的解决tomcat的处理配置日志输出类型idea中tomcat配置乱码的解决tomcat的处理配置日志输出类型catalina-----catalina.org.apache.juli.AsyncFileHandlerlocalhost----localhost.org.apache.juli.AsyncFileHandlermanager----m...
2019-03-23 12:35:33 4107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人