bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
194 stars 93 forks source link

[Spring Boot] Assets not being served with standalone Tomcat server #183

Closed SHININGU closed 6 years ago

SHININGU commented 6 years ago

I'm currently using Spring Boot 1.5.7 with asset-pipeline-gradle:2.6.7, everything works just fine when running the Spring Boot embedded server, but when I want to deploy a war on a real Tomcat 8 server, every asset request returns 404 (the server seems to work fine since I can open my login page but with no CSS or JS). I have my assets folders (javascript, stylesheets, etc) on the standard src/assets folder, I figure there's a little bit of configuration I'm missing for deploying a war but I can't find anything.

davydotcom commented 6 years ago

thats a bit of an old version . any reason you aren't using a newer asset-pipeline?

davydotcom commented 6 years ago

think this is resolved in 2.14.4