So I'm using Intellij and I am connecting to the internet via a proxy server. For some reason on my regular computer connected via wireless router it all works out but this one isn't working. I tried reloading the maven project, but to no avail.
For some reason pom.xml can't find my dependencies, and that's probably why.
This is the pom.xml: Top of pom.xml Bottom of pom.xml
This is the problems tab in the console: Here
If you are using IntelliJ's embedded Maven, configure your proxy as per this [link] 1 .
You can copy the default settings.xml file from Maven install ${maven.home}/conf/settings.xml to ${user.home}/.m2/settings.xml.
Then, add a proxy section to your settings file as in explained in this guide .
Also, check with your company's infrastructure responsible that you are actually allowed to connect to Maven Central, for example at my current company we have a well-known brand firewall that, by default, blocks it .
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.