title: I got this error White label Error Page while mapping multiple index into spring boot controller while trying to display more than one page
body: <pre><code>@Controller
  public class HomeController {
  @RequestMapping("/")
  public String index() {
      return "myAccount";
  }
  
  @RequestMapping("/myAccount")
  public String myAccount() {
      return "myAccount";
  }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/K6QEF.png" rel="nofollow noreferrer">Project structure image</a></p>
  
  <p>The above controller exposes two links which return the same html page.</p>