Grails Console 1.0.3 reports "premature file termination"

Viewing a dynamic web page created using Grails version 1.0.3, the console log displays the following errors for each page request:

[Fatal Error]: -1: -1: premature end of file.

How to stop this error with each request?

+5
source share
3 answers

Logging occurs when HTTP requests are made from Firefox 3 browsers.

Grails 1.0.3 workaround is to open Config.groovy in your project and find the following:

grails.mime.types = [ html: ['text/html','application/xhtml+xml'],
xml: ['text/xml', 'application/xml'], ...

The second line above relating to xml should be deleted.

GRAILS 1.0.3, , . http://jira.codehaus.org/browse/GRAILS-3088 .

+3

: http://jira.codehaus.org/browse/GRAILS-3088

/s: 1.0.3
Fix Version/s: 1.0.4

... . q, 0, . , 1.0, Firefox 3, Firefox 2. XML, application/xhtml + xml, , q, Firefox 2...

+12

1.0.4, , . "Grails Development Builds" Grails.

.

+1

All Articles