我无法在基于maven的grails项目中安装JAWR插件,我尝试了以下命令
mvn grails:install-plugin -DpluginName=Jawr
grails install-plugin Jawr
grails install-plugin Jawr
命令的结果如下
groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.grails.resolve.EnhancedDefaultDependencyDescriptor.addRuleForModuleId(
) is applicable for argument types: (org.apache.ivy.core.module.id.ModuleId, java.lang.String) values: [org.slf4j#slf4j-api, compile]
Possible solutions: addRuleForModuleId(org.apache.ivy.core.module.id.ModuleId, java.lang.String, java.lang.String, java.lang.String)
at grails.util.BuildSettings.configureDependencyManager(BuildSettings.groovy:776)
at grails.util.BuildSettings$configureDependencyManager.callCurrent(Unknown Source)
at grails.util.BuildSettings.postLoadConfig(BuildSettings.groovy:682)
at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:671)
at grails.util.BuildSettings$loadConfig$0.callCurrent(Unknown Source)
at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:653)
at grails.util.BuildSettings$loadConfig.callCurrent(Unknown Source)
at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:630)
mvn grails:install-plugin -DpluginName=Jawr
命令的结果如下
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#Jawr;latest.integration: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error resolving plugin [name:Jawr, group:org.grails.plugins, version:latest.integration].
Plugin not found for name [Jawr] and version [not specified]
如果有人有任何想法,请帮助我
提前致谢