freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> linkTo[LoginController] [in template "WEB-INF/jsp/index/index.jsp" at line 6, column 20] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction: ==> ${linkTo[LoginController].logout} [in template "WEB-INF/jsp/index/index.jsp" at line 6, column 18]
--
You received this message because you are subscribed to the Google Groups "caelum-vraptor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caelum-vrapto...@googlegroups.com.
To post to this group, send email to caelum-...@googlegroups.com.
Visit this group at http://groups.google.com/group/caelum-vraptor.
For more options, visit https://groups.google.com/d/optout.
FreeMarker template error:
The following has evaluated to null or missing:
==> linkTo [in template "teste/index.ftl" at line 8, column 49]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (FTL stack trace):
----------
==> ${linkTo} [in template "teste/index.ftl" at line 8, column 47]
----------