-
Notifications
You must be signed in to change notification settings - Fork 52
Fails with Grails 2.4.0 #87
Comments
The problem is release of plug in resoouces |
any idea when it is going to solve? |
I was able to get it to compile with the update of resources to version 1.2.8, but still can't get run-app working. |
Getting the same error. Any idea how to resolve this? Error | |
yes, you must comment // compile ':asset-pipeline:1.8.3' Date: Tue, 17 Jun 2014 23:03:57 -0700 Getting the same error. Any idea how to resolve this? Error | — |
Even after fixing the isssues commented above, when I launch a new fresh app, the following error shows up: | 425 | loadClass in java.lang.ClassLoader |
Did you run a "grails clean" before "grails run-app"? |
I tried again, I deleted every cache grails have. // compile ":asset-pipeline:1.8.11" That makes compile the whole project, but when I hit run-app (I use GGTS), keeps failing: |Running Grails application | 425 | loadClass in java.lang.ClassLoader I did "grails clean", tried again, same result |
I think it has to do with the bootstrap plugin or another GUI plugin, asset-pipeline was meant to replace the resources plugin(http://grails.org/plugin/asset-pipeline ),the bootstrap plugin makes use of the resources plugin (https://github.com/joergrech/KickstartWithBootstrap/blob/master/grails-app/conf/KickstartResources.groovy), an older build which does not work well with grails 2.4.2 .. You have to tell it's author(https://github.com/joergrech) to refactor the code to use the newer resorces plugin or the asset pipeline plugin.............Hope this helps |
I think I've made it work. |
I have a new project: Error | | 63 | doFilter in grails.plugin.cache.web.filter.AbstractFilter why? |
more info, which grails version? which plugins ae you using? are you upgrading? |
I use grails 2.4.0
Date: Sun, 27 Jul 2014 23:58:21 -0700 more info, which grails version? which plugins ae you using? are you upgrading? — |
Comment either asset-pieline or resources plugin, asset-pieline plugin was meant to replace resources plugin in grails 2.4 |
Now it's work fine My BuildConfig.groovy is:
thank you Luca Date: Mon, 28 Jul 2014 03:27:07 -0700 Comment either asset-pieline or resources plugin, asset-pieline plugin was meant to replace resources plugin in grails 2.4 — |
I resolved the resource not found by removing the pipeline plugin but still I get the error below 2014-09-25 11:40:58,991 [localhost-startStop-1] ERROR [localhost].[/PDLuck] - Exception starting filter sitemesh | 423 | loadClass in java.lang.ClassLoader My plugins plugins { // compile ":asset-pipeline:1.9.6"
// runtime ":hibernate4:4.3.5.5" // or ":hibernate:3.6.10.17"
|
In BuildConfig.groovy Add the following Under src/templates/war/web.xml Also comment out the corresponding filter-mapping Run the app now!! |
ajayush thanks now it works! |
This error occurs if you have run "install templates" at any point in the past before you upgraded to grails 2.4.x. Simply running the "install templates" command again and overwriting the templates solves this problem |
I disagree with the comment above. I can reproduce this issue with brand new new grail 2.4.x project, Steps to reproduce:
And then you start having fun (sarcasm)... add resource dependency 1.2.8, then comment out assets-pipeline... then comment out sitemesh Alas! no. Because all the other updated plugins require assets-pipeline. Now, I was able to get the resources plugin to play friendly with the assets-pipeline plugin, but only when running in "prod" mode. Seems the assets plugin behaves quite differently in dev mode or prod mode. Long rant over. I love this plugin, any way to have it upgraded to use the assets plugin instead of resources to bring it inline with the new versions of grails? |
Fails when compiling with grails 2.4.0 'cause of PluginManagerHolder
The text was updated successfully, but these errors were encountered: