Skip to content

You cannot read the scheme in non-request rendering operations #363

@janpenspain

Description

@janpenspain

Hi,
my set up is tomcat 8 java 8 grails 3.1.8 compile "org.grails.plugins:mail:2.0.0.RC6"

I have this code line,
<td align="left" valign="middle"><img src="${assetPath(src: 'logo-mail.png', absolute: true)}" width="230" height="90" style="display: block; width: 230px; height: 90px;" border="0" class="img-max"></td>

if deploy from intelliJ this app works well, but I generate a war and deploy from tomcat then the app doesn't work.

Error executing tag <g:render>: You cannot read the scheme in non-request rendering operations, class:class org.grails.taglib.GrailsTagException, stackTraceDepth:177,
cause:java.lang.UnsupportedOperationException: You cannot read the scheme in non-request rendering operations, lineNumber:16,

The same app from grails 2.5 doesn't show anything error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions