Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Task 'bootRepackage' not found in root project 'gateway'

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

like image 744
Akram Khan Avatar asked Oct 19 '25 10:10

Akram Khan


1 Answers

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
like image 193
Pascal Grimaud Avatar answered Oct 22 '25 00:10

Pascal Grimaud



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!