I am trying to integrate Angular 2 application with Java Spring Boot backend. For the moment, I place my Angular 2 files under src/main/resources/static (meanin
src/main/resources/static
I had a similar issue, after some frustrating researches I solved the 404 error thanks to this. The order of imports matters. Hope it helps someone.