使用Spring OpenSessionInViewFilter的缺点

终于理解了Karl所说的“If any errors occur while attempting to lazy load relationships in the view (JSP) it would be hard to present a nice error to the user”,其实更痛苦的是我自己没办法定位错误,这不,今天就领教了。我的任务列表莫名其妙的报错了:

17:05:28 DEBUG [WorkListController] listExecutingTasks (line:118) aPageExeTasks.size()[3]
17:05:32 ERROR [DispatcherServlet] serviceWrapper (line:404) Could not complete request
17:05:32 ERROR [DispatcherServlet] org.apache.jasper.JasperException
17:05:32 ERROR [DispatcherServlet] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
17:05:32 ERROR [DispatcherServlet] at
最怕这种错误信息了

哎,最近我的神经怎么老经受考验!

你可能感兴趣的:(使用Spring OpenSessionInViewFilter的缺点)