首页 > 解决方案 > MVN command not found on intellij

问题描述

I am new to mvn and intellij and I was trying to import a mvn(spring boot) project into intellij but intellij is not able to resolve all the mvn dependencies. And when I type mvn --version on the terminal on intellij it shows mvn command not found. How do I resolve this issue? (I have also tried to run mvn install command but that is also not working)

标签: spring-bootmavenintellij-idea

解决方案


确保您的互联网正常工作。通过右键单击文件夹将主目录标记为源/根目录。再次完全构建项目。

此外,您可以检查您的项目是否包含 mvn 设置,如果没有,您可以将其配置为 mvn 项目,反之亦然。

看一看!


推荐阅读