grails 1.3.9依赖问题:将mail-1.4.3.jar作为插件加载?

斯瓦多

试图获取用于旧系统编译的代码(1.3.9版),当它尝试安装mail-1.0.1插件时,我遇到了障碍。似乎这成功了,但随后尝试尝试将mail-1.4.3.jar作为插件安装,并且无法回滚邮件1.0.1。我已经完成了google的工作,并且只有一个参考(错误报告)没有帮助。

储存库可能是造成这种情况的原因吗?

这是特定的构建错误

------------------------------------------
grails create-constraint
   [delete] Deleting directory /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/resources
Installing zip /home/blake/.ivy2/cache/org.grails.plugins/mail/zips/mail-1.0.1.zip... ...
    [mkdir] Created dir: /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/plugins/mail-1.0.1
    [unzip] Expanding: /home/blake/.ivy2/cache/org.grails.plugins/mail/zips/mail-1.0.1.zip into /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/plugins/mail-1.0.1
Installed plugin mail-1.0.1 to location /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/plugins/mail-1.0.1. ...
Resolving plugin JAR dependencies ...
Plugin mail-1.0.1 installed
Plugin /home/blake/.ivy2/cache/javax.mail/mail/jars/mail-1.4.3.jar is not a valid Grails plugin. No plugin.xml descriptor found!
   [delete] Deleting directory /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/plugins/constraints-0.6.0
   [delete] Deleting directory /home/blake/.grails/1.3.9/projects/egrants-grails-1.3.9/plugins/mail-1.0.1

application.properties

#Grails Metadata file
#Tue May 27 22:06:43 EST 2014
app.grails.version=1.3.9
app.name=XXXX
app.servlet.version=2.4
app.version=1.XXXXX
plugins.codenarc=0.8.1
plugins.constraints=0.6.0
plugins.cxf=0.7.0
plugins.external-config-reload=1.2-SNAPSHOT
plugins.geb=0.4
plugins.gsp-arse=1.3
plugins.hibernate=1.3.9
plugins.jquery=1.8.3
plugins.jquery-ui=1.8.24
plugins.mail=1.0.1
plugins.nerderg-form-tags=1.3
plugins.rendering=0.4.3
plugins.spock=0.5-groovy-1.7
plugins.spring-security-core=1.0.1
plugins.tomcat=1.3.9

和BuildConfig

// BuildCOnfig.groovy
grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    }
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {
        grailsPlugins()
        grailsHome()
        grailsCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        //mavenLocal()
        mavenCentral()
        //mavenRepo "http://snapshots.repository.codehaus.org"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
        mavenRepo "http://repo.grails.org/grails/repo/"

        mavenRepo "http://repository.springsource.com/maven/bundles/release" 
        mavenRepo "http://repository.springsource.com/maven/bundles/external" 

    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        // runtime 'mysql:mysql-connector-java:5.1.5'
        runtime (group:'com.googlecode.ehcache-spring-annotations', name:'ehcache-spring-annotations', version:'1.2.0') {
            excludes(
                    [name: 'ehcache-core'],
                    [group: 'org.springframework'],
                    [group: 'org.slf4j']
            )
        }

    }
}
斯瓦多

事实证明,让它在编译时自动解决依赖项是一个坏主意(TM)。手动手动安装每个必需的插件似乎可以解决问题:

grails install-plugin <plugin> <version>

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Lisp中的'(((1 2)(3 4)))和'('((1 2)'(3 4))之间有什么区别?

来自分类Dev

Groovy / Grails的承诺/未来。没有.resolve(1,2,3)方法。奇怪?

来自分类Dev

标尺函数的迭代实现(1,2,1,3,1,2,1,4,1,2,1,3,...)

来自分类Dev

将1x9数据帧重塑为4 x 3而不循环

来自分类Dev

无法解决Grails 3中渲染插件的依赖性

来自分类Dev

grails 3插件安装位置

来自分类Dev

为什么JavaScript数组操作[1,2,3,4] [1,2]返回3?

来自分类Dev

升级到grails 3后,grails数据库迁移插件问题

来自分类Dev

Grails 3加载静态文件

来自分类Dev

如何重复序列:r中的1,2,3,4,5,6,1,2,3,4,5,6,7,8,9,10,7,8,9,10

来自分类Dev

使用Scala收集方法可帮助将[0,0,0,1,1,1,1,0,0,1,1]的列表转换为[3,4,2,2]

来自分类Dev

下划线或lazy.js映射(0,1,2,3,4)+(1,2,3,4,5)->(1,3,5,7,9)

来自分类Dev

为什么将4 + 20 /(3-1)* 2解释为4 +(20)/((3-1-1)* 2)是错误的?

来自分类Dev

1 2 3 4 7 8 9 p和退格键不起作用

来自分类Dev

将数组的元素添加为a [0],a [1] + a [2],a [3] + a [4] + a [5],a [6] + a [7] + a [8] + a [9] ...等等

来自分类Dev

我想编写函数,该函数将输入作为数字并返回从1到数字的array。示例N = 4,输出= [1,2,3,4]

来自分类Dev

通过模数为c的4 3 2 1 4 3 2 1 ...循环

来自分类Dev

C中{0,1,2,3,4,5,6,7,8,9}外的条件

来自分类Dev

Grails 3插件配置

来自分类Dev

创建序列0、0、0、0、0、1、1、1、1、1、2、2、2、2、2、3、3、3、3、3、4、4、4、4、4 ,带有seq()的4

来自分类Dev

如何生成图案5 5 5 5 5 4 4 4 4 3 3 3 2 2 1

来自分类Dev

为什么(1 + 3)[a]与a [1 + 3]相同?

来自分类Dev

R for回路向量1,2,2,3,3,3,4,4,4,4,..,10,

来自分类Dev

Grails 3 从 jar 文件动态加载控制器

来自分类Dev

python 将列表 [0, 1, 2, 3, 4, 5] 转换为 [0, 1, 2], [1,2,3], [2,3,4]

来自分类Dev

是否有将字符串“1, 2, 3, 4”或“1 2 3 4”转换为整数数组或 List<Integer> 的库方法?

来自分类Dev

如何使用张量流将 [1,2,3,4,5,6] 重塑为 [[1,3,5],[2,4,6]]?

来自分类Dev

ValueError: 形状 (4,4) 和 (3,) 未对齐:4 (dim 1) != 3 (dim 0)

来自分类Dev

我想把数组 [1,2,3,4,5,6,7,8,9,10,11] 变成数组 [1,2,3,4,5,6,7,8,9,1 ,0,1,1] 仅使用此算法

Related 相关文章

  1. 1

    Lisp中的'(((1 2)(3 4)))和'('((1 2)'(3 4))之间有什么区别?

  2. 2

    Groovy / Grails的承诺/未来。没有.resolve(1,2,3)方法。奇怪?

  3. 3

    标尺函数的迭代实现(1,2,1,3,1,2,1,4,1,2,1,3,...)

  4. 4

    将1x9数据帧重塑为4 x 3而不循环

  5. 5

    无法解决Grails 3中渲染插件的依赖性

  6. 6

    grails 3插件安装位置

  7. 7

    为什么JavaScript数组操作[1,2,3,4] [1,2]返回3?

  8. 8

    升级到grails 3后,grails数据库迁移插件问题

  9. 9

    Grails 3加载静态文件

  10. 10

    如何重复序列:r中的1,2,3,4,5,6,1,2,3,4,5,6,7,8,9,10,7,8,9,10

  11. 11

    使用Scala收集方法可帮助将[0,0,0,1,1,1,1,0,0,1,1]的列表转换为[3,4,2,2]

  12. 12

    下划线或lazy.js映射(0,1,2,3,4)+(1,2,3,4,5)->(1,3,5,7,9)

  13. 13

    为什么将4 + 20 /(3-1)* 2解释为4 +(20)/((3-1-1)* 2)是错误的?

  14. 14

    1 2 3 4 7 8 9 p和退格键不起作用

  15. 15

    将数组的元素添加为a [0],a [1] + a [2],a [3] + a [4] + a [5],a [6] + a [7] + a [8] + a [9] ...等等

  16. 16

    我想编写函数,该函数将输入作为数字并返回从1到数字的array。示例N = 4,输出= [1,2,3,4]

  17. 17

    通过模数为c的4 3 2 1 4 3 2 1 ...循环

  18. 18

    C中{0,1,2,3,4,5,6,7,8,9}外的条件

  19. 19

    Grails 3插件配置

  20. 20

    创建序列0、0、0、0、0、1、1、1、1、1、2、2、2、2、2、3、3、3、3、3、4、4、4、4、4 ,带有seq()的4

  21. 21

    如何生成图案5 5 5 5 5 4 4 4 4 3 3 3 2 2 1

  22. 22

    为什么(1 + 3)[a]与a [1 + 3]相同?

  23. 23

    R for回路向量1,2,2,3,3,3,4,4,4,4,..,10,

  24. 24

    Grails 3 从 jar 文件动态加载控制器

  25. 25

    python 将列表 [0, 1, 2, 3, 4, 5] 转换为 [0, 1, 2], [1,2,3], [2,3,4]

  26. 26

    是否有将字符串“1, 2, 3, 4”或“1 2 3 4”转换为整数数组或 List<Integer> 的库方法?

  27. 27

    如何使用张量流将 [1,2,3,4,5,6] 重塑为 [[1,3,5],[2,4,6]]?

  28. 28

    ValueError: 形状 (4,4) 和 (3,) 未对齐:4 (dim 1) != 3 (dim 0)

  29. 29

    我想把数组 [1,2,3,4,5,6,7,8,9,10,11] 变成数组 [1,2,3,4,5,6,7,8,9,1 ,0,1,1] 仅使用此算法

热门标签

归档