简体   繁体   English

在Intellij IDEA上安装Maven时出错

[英]Errors when installing Maven on Intellij IDEA

I have a problem, I want to install Maven to Intellij IDEA on the following instructions , but in the end I have errors, how can I fix them? 我有一个问题,我想按照以下说明将Maven安装到Intellij IDEA上,但是最后我遇到了错误,该如何解决? :( :(

C:\Users\Alex_msi>mvn -version
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
"cmd" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

Just by looking at the error given to you by the VM, i suggest you to check the -Xmx and -Xms arguments. 仅查看VM给您的错误,我建议您检查-Xmx和-Xms参数。 Might as well be that they are wrongly configured (for example, you could have set a minimum heap size which is actually bigger than the default maximum one or vice versa). 可能还因为它们的配置错误(例如,您可能设置的最小堆大小实际上大于默认的最大堆大小,反之亦然)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM