Grails Mail Plugin doesnt install - try to fix in Config but still doesnt work

泪湿孤枕 提交于 2019-12-13 05:14:31

问题


I need to install the mail plugin for grails. The console shows the following error:

Failed to install plugin [mail-1.0-SNAPSHOT]. Plugin has missing JAR dependencies.

I tryed to fix some things in the buildconfig.groovy according to guides to this problem I googled, but it keeps showing this error message above. Things I inserted into the buildconfig.groovy

dependencies {

    compile "javax.mail:mail:1.4.3"
    runtime "org.springframework:org.springframework.test:3.0.3.RELEASE"

    runtime( ':mail:1.0-SNAPSHOT' ) {
    excludes "spring-test"}


}

the plugin doesnt install (I tried to install it from the "run target" console. Can somebody help pleas? thanks a lot, Daniel


回答1:


Can you trying installing version 0.9 ? I know that works for us.




回答2:


Just a shoot from the hip: is mavenCentral() uncommented in the repositories section?



来源:https://stackoverflow.com/questions/6692543/grails-mail-plugin-doesnt-install-try-to-fix-in-config-but-still-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!