- 博客(6)
- 收藏
- 关注
原创 Error attaching to process: Windbg Error: WaitForEvent failed 拒绝访问 JStack命令
先说结论 应该达成jar包 使用java -jar 命令启动jar包 再进行命令大部都是windows 下 在idea环境下直接运行项目 然后再使用cmd 运行JStack 命令 结果会报错是因为环境版本不一致 一个32位的一个是64位的...
2021-11-30 14:53:33
1786
原创 docker 部署Kafka +zookeeper bitnami(解决 unkonw host xxxxxxxx)
docker部署bitnami/kafka 可以先去docker 仓库 下载最新docker-compose.yaml 附上我用的version: "2"services: zookeeper: image: docker.io/bitnami/zookeeper:3.7 container_name: zookeeper ports: - "2181:2181" volumes: - "zookeeper_data:/D/progra.
2021-11-10 17:09:38
4575
原创 Cannot run program “sh“ 的解决
记录一下 写了一个Java项目想运行一段shell在win10 环境下运行shell 脚本命令使用 “sh test.sh xxx" 报错是由于win10环境下安装的是git 默认运行命令行时是 cmd命令需要添加上sh.exe 路径"D:\\program\\Git\\bin\\sh.exe test.sh"有可能 将sh.exe 加入path路径也可以解决 我没试过...
2021-10-27 14:52:57
3682
3
转载 后台 设置response.setContentType(“text/html;charset=utf-8“);却输出乱码
编程顺序会影响效果把response.setCharacterEncoding("utf-8");//第一句,设置服务器端编码response.setContentType("text/html;charset=utf-8");//第二句,设置浏览器端解码这两段代码 往前提;就会生效转载于:https://www.cnblogs.com/qingyundian/p/7488665.html 感谢大大的启发...
2021-10-14 15:28:06
889
原创 the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’ 解决方案
命令行前边加上 winpty 进容器的时候把/bin/sh或/bin/bash改成 sh 以及 bash就可以了winpty docker exec -it nacos bash转载请注明来源:WBB»the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’ 解决方案...
2021-09-28 14:00:19
3371
原创 docker 使用日记
window 10 使用docker 会出现好多坑家庭版 win10使用Docker Toolbox工具,(需要cpu支持虚拟化)win10 使用git bash命令的话 新建/home目录竟然在git的安装目录下。
2021-09-24 16:57:59
101
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人