【发布时间】:2015-11-19 10:00:30
【问题描述】:
我的应用程序产生了一个内部服务器错误,在 tomcat 上运行它会打印一个带有给定错误的堆栈跟踪。在 Oracle 上,它会隐藏错误并将其发布到 application.log。
是否可以通过部署描述符更改此设置?
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment
descriptors do not allow for including it in this response.
Please consult the application log for details.
【问题讨论】:
-
您使用的是哪个 Web 服务器和/或 Web 容器(或应用程序服务器)?
标签: java web-applications error-handling oas