我在安装gradle集成扩展程序后,只是尝试在GGTS 3.6.3中导入Grails 3.0.0.M1测试项目。它失败了。
我是否需要安装更多扩展程序?
谢谢!
错误:
Download http://plugins.gradle.org/m2/org/springframework/boot/spring-boot-gradle-plugin/1.2.1.RELEASE/spring-boot-gradle-plugin-1.2.1.RELEASE.pom
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'test'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:1.2.1.RELEASE.
Required by:
:test:unspecified > org.grails:grails-gradle-plugin:3.0.0.M1
> Could not parse POM http://repo.grails.org/grails/core/org/springframework/boot/spring-boot-gradle-plugin/1.2.1.RELEASE/spring-boot-gradle-plugin-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-tools:1.2.1.RELEASE.
> Could not parse POM http://repo.grails.org/grails/core/org/springframework/boot/spring-boot-tools/1.2.1.RELEASE/spring-boot-tools-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-parent:1.2.1.RELEASE.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Could not parse POM http://plugins.gradle.org/m2/org/springframework/boot/spring-boot-tools/1.2.1.RELEASE/spring-boot-tools-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-parent:1.2.1.RELEASE.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Could not parse POM http://plugins.gradle.org/m2/org/springframework/boot/spring-boot-gradle-plugin/1.2.1.RELEASE/spring-boot-gradle-plugin-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-tools:1.2.1.RELEASE.
> Could not parse POM http://repo.grails.org/grails/core/org/springframework/boot/spring-boot-tools/1.2.1.RELEASE/spring-boot-tools-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-parent:1.2.1.RELEASE.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Could not parse POM http://plugins.gradle.org/m2/org/springframework/boot/spring-boot-tools/1.2.1.RELEASE/spring-boot-tools-1.2.1.RELEASE.pom
> Could not resolve org.springframework.boot:spring-boot-parent:1.2.1.RELEASE.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
> Failed to create SHA1 hash for file /home/rawi/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-parent/1.2.1.RELEASE/205ff23f67b19c94ced78801eefe2ea861a2c2e8/spring-boot-parent-1.2.1.RELEASE.pom.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 12.278 secs
更新: Netbeans 8.0.2都不能,因为gradle脚本中的错误:
Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveException: Could not resolve org.springframework.boot:spring-boot-gradle-plugin:1.2.1.RELEASE.
Required by:
:test:unspecified > org.grails:grails-gradle-plugin:3.0.0.M1