1.问题描述
A problem occurred configuring root project 'maketControlV'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE.
Searched in the following locations:
- http://nexus.haiercash.net/nexus/content/repositories/public/io/spring/gradle/dependency-management-plugin/0.5.3.RELEASE/dependency-management-plugin-0.5.3.RELEASE.pom
- http://nexus.haiercash.net/nexus/content/repositories/public/io/spring/gradle/dependency-management-plugin/0.5.3.RELEASE/dependency-management-plugin-0.5.3.RELEASE.jar
Required by:
project :
> Could not find org.springframework.boot:spring-boot-gradle-plugin:2.1.5.RELEASE.
Searched in the following locations:
- http://nexus.haiercash.net/nexus/content/repositories/public/org/springframework/boot/spring-boot-gradle-plugin/2.1.5.RELEASE/spring-boot-gradle-plugin-2.1.5.RELEASE.pom
- http://nexus.haiercash.net/nexus/content/repositories/public/org/springframework/boot/spring-boot-gradle-plugin/2.1.5.RELEASE/spring-boot-gradle-plugin-2.1.5.RELEASE.jar
Required by:
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
2.解决方案
很弱智的问题,就是仓库地址写错了红框里面的内容