We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ThymeLeaf 3.0.9, Spring-Webflow. Bit new to Thymeleaf. I am getting following exception only in production environment.
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "(#session.getAttribute('userExists'))" (template: "fragments/loginForm" - line 6, col 8)
Line of code that is affected is:
<div th:if="${(#session.getAttribute('userExists'))}"> ... </div>
Locally it runs correct. On production it fails badly.
I understand that #session is only available in webcontext. Is my application running as standalone on production? Or is something wrong with syntax?
The text was updated successfully, but these errors were encountered:
I believe this is an application problem and solved in SO https://stackoverflow.com/questions/54961520/thymeleaf-occasional-error-using-session-exception-evaluating-springel-expre hence we can close this issue.
Sorry, something went wrong.
No branches or pull requests
ThymeLeaf 3.0.9, Spring-Webflow. Bit new to Thymeleaf.
I am getting following exception only in production environment.
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "(#session.getAttribute('userExists'))" (template: "fragments/loginForm" - line 6, col 8)
Line of code that is affected is:
Locally it runs correct. On production it fails badly.
I understand that #session is only available in webcontext. Is my application running as standalone on production? Or is something wrong with syntax?
The text was updated successfully, but these errors were encountered: