montecry
zyffanye的学习笔记
采纳率0%
2018-12-09 14:54

idea构建Spring源码环境import项目时报错

Gradle project
选择第三个Use local gradle distribution时报错

Plugin [id: 'io.spring.dependency-management', version: '1.0.5.RELEASE', apply: false] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'io.spring.dependency-management:io.spring.dependency-management.gradle.plugin:1.0.5.RELEASE') Searched in the following repositories: Gradle Central Plugin Repository Consult IDE log for more details (Help | Show Log)

求大神解答

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • goodcto 老汉三旬 2年前

    rm -rf ~/.gradle

    点赞 5 评论 复制链接分享
  • qq_29446447 88互联网从业者 2年前

    请问楼主这个问题有解决吗?

    repositories { // maven仓库地址
    maven{url 'http://xxxx/'} // 私库

    mavenCentral()
    }

    点赞 评论 复制链接分享

相关推荐