0

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?

2 Answers2

1

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.

Ken Liu
  • 22,503
  • 19
  • 75
  • 98
0

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

    //mavenLocal()
    mavenCentral()
    //mavenRepo...
Kelly
  • 3,709
  • 4
  • 20
  • 31