我的应用程序产生了一个内部服务器错误,在 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.