loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

Unable to load resources, jquery-ui #44

Open rgstephens opened 9 years ago

rgstephens commented 9 years ago

I'm trying out the plugin on a Grails 2.4.4. app that doesn't use the resources plug so I add the following to BuildConfig.groovy:

runtime ":resources:1.2.13"
compile ":rest-api-doc:0.5"

I then run the grails rest-api-doc command and get this error:

| Error 2014-12-25 10:10:00,962 [main] ERROR resource.ResourceProcessor  - Unable to load resources
Message: No signature of method: groovy.util.ConfigObject.getGrailsPlugin() is applicable for argument types: (java.lang.String) values: [jquery-ui]

I've tried removing the asset-pipeline plugin because of an incompatibility between resources and asset-pipeline but the problem continues.

jeffmlevine commented 9 years ago

As a workaround, try downgrading to resources:1.2.8. We had the same problem.

rgstephens commented 9 years ago

Thanks. Tried that but the problem persists.

rgstephens commented 9 years ago

I fixed this problem by removing the spring-security-ui plugin. The only reason jquery-ui was used in my project was as a dependency of spring-security-ui. Still not sure why this causes the jquery-ui related problem with the rest-api-doc.

olikaf commented 9 years ago

I have this issue too. Downgrading doesn't work either. And I need JqueryUI... No news on this point ?