Search code examples
grailsyuigrails-plugin

grails ui plugin not working with grails 2.1.0


I wanted to test some of the features like expandablePannels etc before putting into another project, so I created a new project with a CRUD just so I can use grails ui

I am using Intellij 11, so I installed the plugin and was responded with the following error:

Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:yui:[2.6.0,)


IDEA hook: Grails not found!
| Error java.lang.NullPointerException
| Error     at org.jetbrains.groovy.grails.rt.Agent$2.run(Agent.java:99)
| Error     at java.lang.Thread.run(Thread.java:680)

Anyone else having issues using this plugin ?


Solution

  • Yet easier:

    Edit BuildConfig.groovy and change the lines of the plugin dependency by these:

    compile ":yui:2.8.2.1"
        compile (":grails-ui:1.2.3") {
             excludes 'yui'
        }
    

    Just in case it's useful to you.