grails - 我在GGTS中得到的解决方法是什么?

标签 grails gradle

当我尝试调试代码时,它在GGTS中显示以下错误,如何解决?

    ::::::::::::::::::::::::::::::::::::::::::::::
    ::          UNRESOLVED DEPENDENCIES         ::
    ::::::::::::::::::::::::::::::::::::::::::::::
    :: org.grails.plugins#code-coverage;1.1.7: not found
    :: org.grails.plugins#tomcat;1.3.1: not found
    :: org.grails.plugins#hibernate;1.3.1: not found
    ::::::::::::::::::::::::::::::::::::::::::::::

| Error Failed to resolve dependencies 
(Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:code-coverage:1.1.7
- org.grails.plugins:tomcat:1.3.1
- org.grails.plugins:hibernate:1.3.1

最佳答案

您刚刚升级了grails版本吗?

Grails改变了它处理tomcat和休眠版本的方式。

在您的BuildConfig.groovy中,将您的tomcat行替换为build ":tomcat:7.0.47";和你的休眠行通过runtime ":hibernate:3.6.10.6" // or ":hibernate4:4.1.11.6"

关于grails - 我在GGTS中得到的解决方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21385077/

相关文章:

grails - 无法安装Grails 2.4.4本地插件(zip文件)

html - 在 gsp 模板中渲染内容

android - Glide Process 'command ' git'' 以非零退出值 128 完成

gradle - Gradle Protobuf自定义任务

Gradle 构建失败 : Task 'jar' not found in root project 'spotify-web-api-android'

java - Kotlin 代码编译成 Jar 用于 Java 项目?

grails - Grails,Gorm,使用createCriteria或其他替代方法

spring - grails - 获取全局当前用户

java - 如何在Grails编译中解决NoClassDefFoundError?

android-studio - 使用 gradle 导入 GSON