title: Using Vaadin Error View instead of Spring Boot's Whitelabel error page
body: <p>I'm using Spring Boot with Vaadin and. By using the <code>@Autowired</code> <a href="https://vaadin.com/api/vaadin-spring/com/vaadin/spring/navigator/SpringNavigator.html" rel="nofollow noreferrer"><code>SpringNavigator</code></a>, I have also set the error view:</p>
  
  <pre><code>navigator.setErrorView(ErrorView.class);
  </code></pre>
  
  <p>But when I type wrong URL like <a href="http://localhost:8080/asdf" rel="nofollow noreferrer">http://localhost:8080/asdf</a> .
  I always get the Spring Boot's Whitelabel error page. I know that I can set custom HTML page for the error like</p>
  
  <pre><code>/resources/public/error/404.html
  </code></pre>
  
  <p>but this is HTML way, I would like to use Vaadin with components,
  the best solution would be the mentioned error view.</p>