title: Spring rest controller returns 404
body: <p>My rest controller ,which is written by spring, returns 404 but when I debug over Eclipse , I see that it comes to my method and returns result but result is still 404.</p>
  
  <p>Controller is like:</p>
  
  <pre><code>@RestController
  @RequestMapping("admin/context")
  public class ApplicationAdmin {
  
      @Autowired
      private ApplicationContextService applicationContextService;
  
      @RequestMapping(value="/monitor",method = RequestMethod.GET, produces = "application/json")
      @ResponseStatus(HttpStatus.OK)
      public Response monitorContexts(){
          return this.applicationContextService.monitorContext();
      }
  }
  </code></pre>
  
  <p>There is no exception or error. And the request ur is:</p>
  
  <p><a href="http://localhost:8080/appl_war/admin/context/monitor" rel="nofollow">http://localhost:8080/appl_war/admin/context/monitor</a></p>