Wednesday, September 10, 2008

Premature end of file in Grails

When I create a app and run it.I got an error message:"[Fatal Error] :-1:-1: Premature end of file." at console,even if every there is notiong happened in your application,it seems that occured in FireFox.then I google it,I found it's seems that because of how firefox process the mime types,so a alternative method is remove the line "xml: ['text/xml', 'application/xml'], " in Config.groovy file.but actually it's a bug of Grails.you can find some discussing about it on http://jira.codehaus.org/browse/GRAILS-3088

No comments: