Skip to content Skip to sidebar Skip to footer

Jhipster - 404 Error On App.js When Running In Prod Profile

I have a problem running my jhipster application in prod. After the deployment of prod war file the site is unable to load due to a 404 not found on /app/app.js However vendor js a

Solution 1:

did you also build your app for prod? it looks like your app did not build the client site. This is done actually wiht the gulp build command. Depending on your build system maven or gradle you can specify the prod environment for the build phase, e.g. for maven mvn -Pprod package.

The gulp build command will be automatically executed durring the build phase. In the doc you can find more information about how to use JHipster in production.

Post a Comment for "Jhipster - 404 Error On App.js When Running In Prod Profile"