title: 404 error for views for AWS but not on local deployment with Spring Boot
body: <p>For practice, I deployed a Spring Boot application to an AWS Elastic Beanstalk environment. I have been able to run the application just fine locally. Since Spring Boot comes with a built in Tomcat, I used a Java AWS environment (not the Tomcat one). In the logs, it looks like the application is booting up correctly. However, for some reason, when I navigate to the root page (which is mapped to index.html), I get the following error:</p>
  
  <pre><code>This application has no explicit mapping for /error, so you are seeing this as a fallback.
  </code></pre>
  
  <blockquote>
  <pre><code>Sun Jan 07 18:22:33 UTC 2018
  There was an unexpected error (type=Not Found, status=404).
  /WEB-INF/index.html
  </code></pre>
  </blockquote>
  
  <p>This happens for just about any mapping. Again, I do <em>not</em> have this problem on my local server. My view resolver is as follows</p>
  
  <pre><code> public ViewResolver getViewResolver() {
      InternalResourceViewResolver resolver = new InternalResourceViewResolver();
      resolver.setPrefix("WEB-INF/view/");
      resolver.setSuffix(".html");
      return resolver;
  }
  </code></pre>
  
  <p>It looks to me as though the resolver is picking off the right paths; is does something about the paths change once I deploy this to an EC? In your response, please treat me like a beginner. </p>