GithubHelp home page GithubHelp logo

[Bug Report] 启动报错 about mcsmanager HOT 8 CLOSED

lamya3 avatar lamya3 commented on June 16, 2024
[Bug Report] 启动报错

from mcsmanager.

Comments (8)

unitwk avatar unitwk commented on June 16, 2024

尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入 -Dfile.encoding=utf-8 这类的启动参数来尝试。

from mcsmanager.

huangsijun17 avatar huangsijun17 commented on June 16, 2024

确认一下,没有使用Docker Dsektop吧。

from mcsmanager.

huangsijun17 avatar huangsijun17 commented on June 16, 2024

错误是log4j写出日志相关的,实例路径等有包含中文之类的吗?
试试看这个参数:
-Dsun.jnu.encoding=UTF8 -Dsun.stdout.encoding=UTF-8 -Dfile.encoding=UTF8 -Ds=0

from mcsmanager.

lamya3 avatar lamya3 commented on June 16, 2024

错误是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.

lamya3 avatar lamya3 commented on June 16, 2024

尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入 -Dfile.encoding=utf-8 这类的启动参数来尝试。

改成GBK不再报错误,但是控制台里面的中文会乱码

from mcsmanager.

lamya3 avatar lamya3 commented on June 16, 2024

确认一下,没有使用Docker Dsektop吧。

没有

from mcsmanager.

Bluemangoo avatar Bluemangoo commented on June 16, 2024

尝试将终端的编码从 GBK 改成 UTF-8 ,并且尝试在启动命令中加入 -Dfile.encoding=utf-8 这类的启动参数来尝试。

改成GBK不再报错误,但是控制台里面的中文会乱码

实例设置里面改下输入输出编码。

from mcsmanager.

huangsijun17 avatar huangsijun17 commented on June 16, 2024

错误是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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.