title: Spring MVC returning view throws 500 error
body: <p>I'm building Spring MVC web application.</p>
  
  <p>There're two views for a list and a specific view of a choosen data.</p>
  
  <p>In the list view, there's a Jqgrid. </p>
  
  <p>When an user clicks one of the rows in the list, then this ajax call should be made.</p>
  
  <pre><code>$.ajax({
          type: "POST",
          url: "/view.do",
          data : { pBen: 3 },
          success: function (data) {
              console.log(data);
          },
          error: function(data) {
              alert(data);
          }
      });
  </code></pre>
  
  <p>I set <code>@RequestMapping</code> in the controller. So, when the ajax runs, the method mapped by the annotation is called with no problem. ( I've tested this in debugging mode. )</p>
  
  <p>after fetching the requested data, I do these things below on ModelAndView object.</p>
  
  <pre><code>ModelAndView mv = new ModelAndView();       
  mv.addObject("ri", resultInfo);
  mv.addObject("pd", personInfo);
  mv.setViewName("SYS/SYS01/view");
  return mv;
  </code></pre>
  
  <p>The actual file path is exactly the same as I defined in the parameter of setViewName.</p>
  
  <p>But first, it throws 500 error on client side.</p>
  
  <pre><code>POST http://192.168.1.189:8080/view.do500 (Internal Server Error) jquery-1.11.0.min.js:4
  send jquery-1.11.0.min.js:4
  n.extend.ajax jquery-1.11.0.min.js:4
  (anonymous function) VM241:4
  n.event.dispatch jquery-1.11.0.min.js:3
  r.handle
  </code></pre>
  
  <p>And what happens inside is like this.</p>
  
  <pre><code>2014. 7. 6 pm 6:57:26 org.apache.catalina.core.StandardWrapperValve invoke
  : Servlet.service() for servlet Paas threw exception
  javax.servlet.ServletException: Could not resolve view with name 'SYS/SYS01/view' in servlet with name 'Paas'
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1190)
      at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)
  </code></pre>
  
  <p>Am I wrong with the returning view phase?
  Other views work just fine. I just wrote almost same codes like above.</p>
  
  <p>but only this view gives me 500 error.</p>
  
  <p>how can I fix this?</p>