BuildWar in Isolated Network


I have installed cuba platform in isolated network and trying to build a war file.
while I run gradlew buildWar command from cmd, it gives the below error,


Ideally, I don’t want to connect to Internet.
Kindly guide me to build a war.

Thanks & Regards,
Velankanni J

You need to have internet for the first time only for the required repositories.


I have connected to Internet and downloaded the repositories and I am able to work on projects.
But when I am trying to Build a war using the project it is giving this error.

So, you mean to say for building war also I should have internet?

Velankanni J

Perhaps some dependencies required for buildWar task were not loaded. Try to do it once when connected, and everything should be cached locally.