赞
踩
环境:
window 7 64位、jdk8
各版本源码:https://github.com/spring-projects/spring-framework/tags
3.2.16版:https://codeload.github.com/spring-projects/spring-framework/zip/v3.2.16.RELEASE
如图所示,报错Could not resolve org.springframework.build.gradle:propdeps-plugin:0.0.7
原因:缺少maven库
解决:修改build.gradle文件,在repositories{}里面增加maven { url “http://repo.springsource.org/plugins-release” },如下:
buildscript {
repositories {
maven { url “https://repo.spring.io/plugins-release” }
maven { url “http://repo.springsource.org/plugins-release” }
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。