Apache ofbiz cleanAll failing with below error

running below command below apache-ofbiz root folder directory.

./gradlew cleanAll loadAll

C:\vivek\selected\selected\i-can-i-will\ofbiz\ofbiz-framework>./gradlew cleanAll loadAll
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\vivek\selected\selected\i-can-i-will\ofbiz\ofbiz-framework>gradlew cleanAll loadAll
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:extractPluginRequests UP-TO-DATE
> Task :buildSrc:generatePluginAdapters UP-TO-DATE
> Task :buildSrc:compileJava UP-TO-DATE
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:compileGroovyPlugins UP-TO-DATE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources UP-TO-DATE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file 'C:\vivek\selected\selected\i-can-i-will\ofbiz\ofbiz-framework\build.gradle' line: 1029

* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find org.freemarker:freemarker:2.3.34-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/freemarker/freemarker/2.3.34-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/freemarker/freemarker/2.3.34-SNAPSHOT/freemarker-2.3.34-SNAPSHOT.pom
      
       - https://repository.apache.org/content/repositories/snapshots/org/freemarker/freemarker/2.3.34-SNAPSHOT/freemarker-2.3.34-SNAPSHOT.pom
     Required by:
         project :
   > Could not find org.freemarker:freemarker:2.3.34-SNAPSHOT.

I tried to access the pom/jar urls in browser , I’m getting 404 error. what is going wrong here kindly assist.

I’m trying it on my office laptop is this firewall issue?

No, it’s just what it says, that version does not exist.
If you look at Index of /repositories/snapshots/org/freemarker/freemarker you see, that this version does not exist (anymore).

I guess with the release of 2.3.34 (Version history - Apache FreeMarker Manual), they stopped providing the snapshot versions.

Since this commit ofbiz uses the release version: Improved: Upgrade to 2.3.34 FreeMarker release · apache/ofbiz-framework@9a524b0 · GitHub. You seem to try to build a commit before that.