简体   繁体   English

使用Crystal:1.0-RC1插件的Grails 1.3.7依赖项解析错误

[英]Grails 1.3.7 dependency resolution error with quartz:1.0-RC1 plugin

After I execute grails compile in my project, it show me: 在我的项目中执行grails compile后,它向我显示:

plugin /home/deploy/.ivy2/cache/org.quartz-scheduler/quartz/jars/quartz-1.8.4.jar is not a valid Grails plugin. No plugin.xml descriptor found!

I think that maybe the problem can be that the plugin name is "quartz" and the dependency of the plugin is "quartz:1.8.4" and maybe grails get confused with the name . 我认为,问题可能出在插件名称为“ quartz”而插件的依赖项为“ quartz:1.8.4”,而grails可能与该名称混淆

Your BuildConfig.groovy file should contain the correct version of quartz that you're trying to compile with. 您的BuildConfig.groovy文件应包含您尝试使用的正确版本的石英。 For instance, there should be a line in there that says: 例如,其中应该有一行显示:

compile ":quartz:1.8.4"

Where your version comes after the colon. 您的版本在冒号之后的位置。 Make sure that the plugin version you have installed matches this. 确保您安装的插件版本与此匹配。

I would suggest doing a grails clean in your main project folder to make sure that everything is good, and if need be, re-install the plugin, and try rebuilding. 我建议您在主项目文件夹中进行grails clean ,以确保一切正常,如果需要,请重新安装插件,然后尝试重建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM