Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seata-server.bat无法启动 #3920

Closed
tiankazma opened this issue Jul 30, 2021 · 2 comments
Closed

seata-server.bat无法启动 #3920

tiankazma opened this issue Jul 30, 2021 · 2 comments

Comments

@tiankazma
Copy link

seata 1.4.0 版本, 本地无法启动
报错如下:
Unrecognized VM option 'CMSParallelRemarkEnabled'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

@funky-eyes
Copy link
Contributor

请使用jdk8

@tanzzj
Copy link
Contributor

tanzzj commented Jul 30, 2021

这个是因为你使用了高版本的jdk导致。高版本的jdk取消了cms处理器,转而采用了zgc代替他。
解决方案有两个,选其中之一便可:
1、降级jdk版本
2、在seata的启动脚本中删除cms的jdk命令

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants