The specific error information is as follows:
webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[null]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport:
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:624)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1071)
at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:770)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:505)
Who can see the meaning of this error message?I was screwed anyway, and I couldn’t find the answer on the Internet.
Now that I know why, let me summarize:
First, a key piece of information is WebApp, indicating that it is an error on the application side itself
Second, the error was not clearly reported, and debugging on websphere was very inconvenient (and time-consuming), and the error was located on the row by printing the log.
(Strangely enough, that line was reported incorrectly, but why wasn’t it caught by the outer try-catch?”And that line looks fine!)
How did the Throwable receive a Throwable?M: How did the Throwable receive a Throwable?How did the Throwable receive a Throwable?
That’s right, it turned out to be a Throwable type error because I changed the interface class instead of updating the class file, resulting in a Throwable type error!
This is a real bummer… Summary of experience:
1, Some places use Throwable to catch an error. (Depending on the case, is the interface referenced but can’t find the implementation class?)
2, log records should be comprehensive, easy to locate the problem. To avoid having to change the code every time, you can set up a more comprehensive log beforehand, turn it off when you go online, and turn it on when you debug (the switch is placed in the database).
Read More:
- Idea | identify non self built webapp folder
- When WebSphere deploys a project, an error is reported: error 500: javax.servlet.ServletException : SRVE0207E: Uncaught initialization
- Error 404:SRVE0190E: File not found: index.action when websphere publishes the project war package
- An error was reported when springboot connected to redis Servlet.service () for servlet [dispatcherServlet] in context with path [] threw e
- Error 500: javax.servlet.ServletException : srve0207e: Solutions
- Solution to errors reported by TES command in vscode – errors reported by typescript command
- Handling of expression not in group by key [value] reported by hive on October 12, 2020
- An error was reported when idea compiles Java: no symbol was found_ How to solve this problem
- Process of checking the error of connection reset by peer reported by reactor netty
- Common errors reported by Eureka in spring cloud
- An error was reported in the process of importing the table from mysql5.7: [err] 1067 – invalid default value for ‘***‘
- Git prompts another git process sees to be running in this repository, e.g. an editor opened by
- Error reported by nested installation esxi host in vsan environment
- Error kernel restart: restart failed was reported in the background of jupyter notebook
- How to Fix error reported by rqt_plot tool in ROS
- An error keyerror255 was reported when pymysql connect to MySQL
- Step on the pit — error reported by sqoop tool.ExportTool : Error during export
- How to deal with the error reported by live mail
- 12 days after the programmer was dismissed by the company, the former leader asked to go back to the company to explain the code clearly, but he was confused
- Error reported by thinkphp5 and wdatepicker calendar control