我修改了默认模板 -
- 门户正常.ftl
- portal_normal.vm
添加了一些标签 -
...
<h1 class="site-title">
<a class="${logo_css_class}" href="${site_default_url}" title="<@liferay.language key="go-to" /> ${site_name}">
<img alt="${logo_description}" height="${site_logo_height}" src="${site_logo}" width="${site_logo_width}" />
</a>
...my tags here..
<#if show_site_name>
<span class="site-name" title="<@liferay.language key="go-to" /> ${site_name}">
${site_name}
</span>
</#if>
</h1>
...
现在,当我尝试登录时,我看到一个空白屏幕,并且在日志中指出 -
catalina.out:
...
INFO: Server startup in 164719 ms
06:23:13,302 ERROR [http-bio-8082-exec-3][IncludeTag:253] Current URL /web/guest/main?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
06:23:13,316 ERROR [http-bio-8082-exec-3][IncludeTag:154] java.lang.StackOverflowError
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
...
这是什么异常以及现在如何登录?
我想这不是重点。我按原样返回了所有内容,但无法登录 - 一个空白屏幕。
尝试通过输入http://localhost: 8082/c/portal/login
url 来恢复登录 portlet。
当我查看萤火虫时,我看到登录请求的状态:
http://localhost:8082/c/portal/login?p_l_id=10691
是302 临时移动
这意味着什么?