title: Spring Boot controller does not redirect
body: <p>I create the following controller:</p>
  
  <pre><code>@Controller
  public class RootController {
  
      @RequestMapping(path = "/login", method = RequestMethod.GET)
      public String showLoginPage() {
          return "redirect:resources/templates/login.html";
      }
  }
  </code></pre>
  
  <p>But, trying to map this endpoint, I receive 404-ERROR. 
  This is a target-page location:
  <a href="https://i.stack.imgur.com/W1d4Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W1d4Z.png" alt="path"></a></p>
  
  <p>What am I doing wrong?</p>