Skip to main content

Grails layout Error : Groovy Pages Exception: Error applying layout in glassfish

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
flotho
Offline
Joined: 2009-08-25

Hy all of you,

I'm working with NB7.1 and grails2.
I customized the templates thanks to this tutorial :
http://mrhaki.blogspot.com/2011/04/grails-goodness-applying-layouts-in.html
It works perfectly on the jetty server in dev or production profile.
I cleaned my project, made a war and deploy it into GF3.1.
When I tried to launch the project, I have the following issue :
/ERROR
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException:
Error applying layout myNewLayout/

I tried on my GF plugged with NB => Failure
I tried on a prod GF independant => Failure
I tried on a tomcat and it works!

What is the problem with GF?

Thanks in advance for your help,

Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
flotho
Offline
Joined: 2009-08-25

Hy,

To precise, Here is in attached, the log of the error.

Regards

Le 01/02/2012 17:17, Florent THOMAS a écrit :
> Hy all of you,
>
> I'm working with NB7.1 and grails2.
> I customized the templates thanks to this tutorial :
> http://mrhaki.blogspot.com/2011/04/grails-goodness-applying-layouts-in.html
> It works perfectly on the jetty server in dev or production profile.
> I cleaned my project, made a war and deploy it into GF3.1.
> When I tried to launch the project, I have the following issue :
> /ERROR
> org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException:
> Error applying layout myNewLayout/
>
> I tried on my GF plugged with NB => Failure
> I tried on a prod GF independant => Failure
> I tried on a tomcat and it works!
>
> What is the problem with GF?
>
>
> Thanks in advance for your help,
>
> Regards

flotho
Offline
Joined: 2009-08-25

Problem solved :

Tere was conflict between plugins.

Regards

Le 01/02/2012 18:43, Florent THOMAS a écrit :
> Hy,
>
> To precise, Here is in attached, the log of the error.
>
> Regards
>
> Le 01/02/2012 17:17, Florent THOMAS a écrit :
>> Hy all of you,
>>
>> I'm working with NB7.1 and grails2.
>> I customized the templates thanks to this tutorial :
>> http://mrhaki.blogspot.com/2011/04/grails-goodness-applying-layouts-in.html
>> It works perfectly on the jetty server in dev or production profile.
>> I cleaned my project, made a war and deploy it into GF3.1.
>> When I tried to launch the project, I have the following issue :
>> /ERROR
>> org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException:
>> Error applying layout myNewLayout/
>>
>> I tried on my GF plugged with NB => Failure
>> I tried on a prod GF independant => Failure
>> I tried on a tomcat and it works!
>>
>> What is the problem with GF?
>>
>>
>> Thanks in advance for your help,
>>
>> Regards