title: Request cannot be processed when building JHipster application in prod profile
body: <p>I'm using <a href="http://127.0.0.1:8080" rel="nofollow noreferrer">jhipster</a> to develop and deploy my webapp. By now I'm having a issue when building it (I'm using <code>maven</code>) in prod profile. When I access the URL i get the following:
  <a href="https://i.stack.imgur.com/u82Qn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u82Qn.png" alt="enter image description here"></a></p>
  
  <p>When i build and run it in dev profile, all works fine.
  According to <code>jhipster</code> docs, whats different between the profiles is that in <code>prod</code> it:</p>
  
  <ol>
  <li><p>Generating an optimized JavaScript application with <code>Gulp</code>  </p></li>
  <li><p>GZipping With the "production" profile, JHipster configures a
      Servlet filter that applies gzip compression on your resources.</p></li>
  <li>Cache headers With the "production" profile, JHipster configures a
      Servlet filter that puts specific HTTP cache headers on your static
      resources (JavaScript, CSS, fonts...) so they are cached by browsers and proxies.</li>
  </ol>
  
  <p>I think it has something to do with the gulp build, but I'm really newbie with <code>gulp</code>, so I take suggestions.</p>
  
  <p>Thanks</p>