After installing mvn and playing with the environment variables, the following error occurs when I run mvn help:system in cmd.
The configuration file has only been modified in two places, and there is no error in the repository location.
So the only thing that is wrong is the configuration of the place where you went to download
In the configuration file, so that no errors are reported
<mirror>
<id>mirrorId</id>
<mirrorOf>*</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
Similar Posts:
- [Solved] Missing artifact com. oracle:ojdbc6 : jar:11.2.0.1.0 Problem solving ojdbc package pom.xml error
- Build failed for Android studio new project
- [Solved] Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- From building nexus to building Maven project
- [Solved] Gradle Error: Could not resolve all dependencies for configuration ‘:detachedConfiguration7
- Maven: How to uses tomcat8 Maven plugin
- PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
- Failure to find … was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced
- Maven Error: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:3.0.0-M1 [How to Solve]