Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
janpenspain opened this issue Jul 11, 2016 · 1 comment
Open

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

janpenspain opened this issue Jul 11, 2016 · 1 comment

Comments

@janpenspain
Copy link

janpenspain commented Jul 11, 2016

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.

@janpenspain
Copy link
Author

sorry, I put plugins mail that where the error is produced but the plugin de asset is
compile "org.grails.plugins:asset-pipeline:3.0.15"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant