是否有列表错误代码写入日志文件?我有时会遇到代码UT005022或代码UT005023的错误,对我来说看起来一样,有时会出现错误代码不同的错误:
2014-05-04 16:41:10,942 ERROR [io.undertow.request] (default task-10) UT005022: Exception generating error page /error.xhtml: javax.servlet.ServletException: Cookie name "version" is a reserved token
2014-05-04 16:41:13,718 ERROR [io.undertow.request] (default task-6) UT005023: Exception handling request to /error.xhtml: java.lang.RuntimeException: javax.servlet.ServletException: Cookie name "version" is a reserved token
2014-05-04 08:16:22,861 ERROR [io.undertow.request] (default task-9) UT005023: Exception handling request to /index.xhtml: javax.servlet.ServletException: viewId:/index.xhtml - Ansicht /index.xhtml konnte nicht wiederhergestellt werden.
答案 0 :(得分:1)
请参阅source repository中的UndertowMessages.java
和UndertowLogger.java
。 @Message
注释的id属性对应于UTxxxxxx前缀。