繁体   English   中英

Eclipse没有使用WAS 8显示异常堆栈跟踪

[英]Eclipse is not showing exception stack trace using WAS 8

当前,当代码引发异常时,我在Eclipse控制台选项卡中看到此消息日志。 我看不出异常是什么。

我正在使用Eclipse Kepler和WebSphere Application Server 8.0

[1/11/16 08:44:01:962 CST] 00000025 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Error de servlet]-[Unable to show problem report: freemarker.core.ParseException: Encountered "?" at line 41, column 21.
Was expecting:
    <ID> ...
    ]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Unable to show problem report: freemarker.core.ParseException: Encountered &quot;?&quot; at line 41, column 21.
Was expecting:
    &lt;ID&gt; ...

提前致谢!

我看不出异常是什么。

实际的异常消息是:

freemarker.core.ParseException: Encountered ? at line 41, column 21. 
Was expecting:  
    ID ...

您的Freemarker模板之一似乎出现解析错误。

其余的人是Websphere,说它无法在5xx错误页面中报告问题……可能是因为响应已经提交。

如果将Websphere日志记录级别更改为调试级别,则应该获得更多线索,以帮助您确定有故障的模板。

有关登录WAS的更多信息:

您还应该检查一下是否在其他地方记录了Websphere日志事件。 例如日志文件。 这些日志可能具有完整的堆栈跟踪。

如果其他所有方法均失败,则可以尝试在第41行第21列中搜索任何带有问号字符的Freemarker模板。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM