Copy Gradle project to another computer

Windows 10, Netbeans 12

I have a Gradle project, has jsp, servlets, javabeans, and copied it to thumb drive, then copied it to another computer same setup.

It built, will not run. Here is some out put, please help. In the netbeans dropdown run I had to reselect tomcat. Other computer same tomcat. So the computer it was created, it works, other it don’t work.

Task :compileJava UP-TO-DATE
Task :processResources NO-SOURCE
Task :classes UP-TO-DATE
Task :explodedWar UP-TO-DATE
Task :war UP-TO-DATE
Task :assemble UP-TO-DATE
Task :build

BUILD SUCCESSFUL in 830ms
3 actionable tasks: 3 up-to-date

=====================================

java.lang.NullPointerException
at org.netbeans.modules.j2ee.deployment.plugins.spi.IncrementalDeployment.getDirectoryForNewApplication(IncrementalDeployment.java:122)
at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.distribute(InitialServerFileDistributor.java:80)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.initialDistribute(TargetServer.java:259)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:664)
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221)
Caused: Deployment error.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:269)
[catch] at org.netbeans.modules.gradle.javaee.execute.DeployHook.deploy(DeployHook.java:95)
at org.netbeans.modules.gradle.javaee.execute.DeployHook.afterAction(DeployHook.java:62)
at org.netbeans.modules.gradle.ActionHookMerger.afterAction(ActionHookMerger.java:63)
at org.netbeans.modules.gradle.ActionProviderImpl.lambda$invokeProjectAction$0(ActionProviderImpl.java:271)
at org.openide.util.Task.notifyFinished(Task.java:215)
at org.netbeans.core.execution.ExecutorTaskImpl.finished(ExecutorTaskImpl.java:64)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:150)