I am reading Full Stack Development with JHipster book. I created a Microservice gateway with 'gateway' app name. By following the book when I run
./gradlew bootRepackage -Pprod buildDocker
in the terminal, it says
Task 'bootRepackage' not found in root project 'gateway'
and then stop running. My Jhipster version is 5.0.0
In JHipster v5.0.0+, the goal bootRepackage
doesn't exist. It has changed to bootWar
, so you need to use:
./gradlew bootWar -Pprod buildDocker