Comments (8)
尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入 -Dfile.encoding=utf-8
这类的启动参数来尝试。
from mcsmanager.
确认一下,没有使用Docker Dsektop吧。
from mcsmanager.
错误是log4j写出日志相关的,实例路径等有包含中文之类的吗?
试试看这个参数:
-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0
from mcsmanager.
错误是log4j写出日志相关的,实例路径等有包含中文之类的吗? 试试看这个参数:
-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0
实例路径没有中文,使用了-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0
问题已经解决,此错误会发生在面板启动阶段,不会发生在bat启动中
from mcsmanager.
尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入
-Dfile.encoding=utf-8
这类的启动参数来尝试。
改成GBK不再报错误,但是控制台里面的中文会乱码
from mcsmanager.
确认一下,没有使用Docker Dsektop吧。
没有
from mcsmanager.
尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入
-Dfile.encoding=utf-8
这类的启动参数来尝试。改成GBK不再报错误,但是控制台里面的中文会乱码
实例设置里面改下输入输出编码。
from mcsmanager.
错误是log4j写出日志相关的,实例路径等有包含中文之类的吗? 试试看这个参数:
-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0
实例路径没有中文,使用了
-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0
问题已经解决,此错误会发生在面板启动阶段,不会发生在bat启动中
我怀疑,可能和传入的路径参数的编码格式有关。
from mcsmanager.
Related Issues (20)
- [Feature] 本地/网络 模板更新配置 HOT 7
- [Bug Report] 2FA绑定失败 HOT 6
- [Bug Report] 守护进程的"defaultInstancePath"配置项不生效 HOT 3
- [Feature] 添加运行环境管理 HOT 4
- [Feature] 禁止普通用户访问实例控制台以及发送命令,但允许用户控制实例开关 HOT 1
- api/service/remote_service_instances有返回但data为空[Bug Report] HOT 3
- [Feature] 批量操作添加重启功能 HOT 8
- [Feature] 实例添加分类功能 HOT 6
- [Feature] 可以授权给用户某个节点的控制权限 HOT 2
- 创建用户可以返回用户uuid吗,现在返回值是true
- [Feature] mcdr分开设置关闭服务器和强制关闭服务器的方法 HOT 1
- [Bug Report] 面板显示部署的程序正在运行,实际已经处于假死状态 HOT 4
- [Bug Report] 英语版本单词拼写错误 HOT 1
- [Bug Report] xhr poll error HOT 3
- [Bug Report] 一样的启动命令终端上可以开,面板上开不了。 HOT 4
- [Bug Report] Docker jdk17 环境中文乱码
- [Bug Report] 新建实例时上传的压缩文件无法自动解压 HOT 1
- [錯誤報告]使用Docker運行實例時模擬終端無響應
- lib/file_zip_* 是什么 HOT 6
- [Feature] 使用 docker 运行实例时,允许添加额外参数 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcsmanager.