跳转到主内容
  • Blogs
  • Activities
FreeMarker 语法无效。

The following has evaluated to null or missing:
==> configuration.loginPage [in template "template_id" at line 7, column 18]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
- Failed at: ${configuration.loginPage} [in template "template_id" at line 7, column 16]
----

Lokesh Sharma - Blogs

Community

Company

Feedback

Blogs
Discuss
Meet
Open Source
Download
Events
Learn
Careers
Contact Us
Contribute
Copyright © 2026 Liferay, Inc

Powered by Liferay™

Legal

Compliance

Privacy Policy

本网站使用 Cookie

我们使用 Cookie 来提供个性化内容、分析趋势、管理网站、跟踪用户在网站上的活动,以及收集有关我们整个用户群的受众信息。接受所有 Cookie 可在我们的网站上获得最佳体验或管理您的偏好设置。 访问我们的《隐私政策》