I have created a project as a spring starter project in Intellij. It can't download maven dependencies specified in pom.xml file. My system is connected to a proxy server. I have checked connection for Intellij, it's working, but still can't download maven dependencies.
Asked
Active
Viewed 70 times
0
-
What happens when you run `mvn install` from command line? Does it fails as well? – Karol Dowbecki Jul 24 '19 at 10:06
-
It can't download or just doesn't start downloading? – Semyon Evgrafov Jul 24 '19 at 11:57
-
mvn not recognized as internal or external command – Aviii04 Jul 24 '19 at 12:10
-
Download doesn't get started – Aviii04 Jul 24 '19 at 12:11
-
Possible duplicate of [How do I use Maven through a proxy?](https://stackoverflow.com/questions/1251192/how-do-i-use-maven-through-a-proxy) – jordiburgos Jul 24 '19 at 12:34
1 Answers
0
If you are getting this error as you mentioned "mvn not recognized as internal or external command",
pleas follow the guide to install mvn in your machine and then do clean and install it will work, Basically you have to add mvn as your environment variable.

Victor
- 23
- 3