Grails error installing searchable plugin

When I try to install the searchable plugin in a grails app, I'm told that grails can't resolve the following dependencies:

    ::::::::::::::::::::::::::::::::::::::::::::::
    ::          UNRESOLVED DEPENDENCIES         ::
    ::::::::::::::::::::::::::::::::::::::::::::::
    :: org.grails.plugins#searchable;0.6.3: java.lang.NullPointerException at org.apache.ivy.plugins.resolver.AbstractResolver.initRepositoryCacheManagerFromSettings(AbstractResolver.java:396)
    ::::::::::::::::::::::::::::::::::::::::::::::

Grails version is 2.0.3

What can i do?

Upvotes: 0

Views: 468

Answers (2)

Ken Liu
Ken Liu

Reputation: 22914

Are you trying to install it from a zip file? This might be caused by GRAILS-9006, which prevents plugins from being installed via a local directory, to be fixed in Grails 2.0.4.

Upvotes: 1

Kelly
Kelly

Reputation: 3709

Try uncommenting the mavenCentral line in BuildConfig.groovy then try the install-plugin again.

    //mavenLocal()
    mavenCentral()
    //mavenRepo...

Upvotes: 0

Related Questions