简体   繁体   中英

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)

Make sure that your internet works. Mark main directory as sources/root by right click on the folder. Build the project completely again.

Also, you can check whether your project consists the mvn settings if not you can configure it to a mvn project and vice versa.

看一看!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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