1
0
-1

Hi all,

I am trying to Build Source Code on Windows with 8.0-SNAPSHOT and currently am hitting this error upon mvn clean install:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project wflow-core: Compilation failure
[ERROR] C:\Users\User\joget_src\jw-community\wflow-core\src\main\java\org\joget\apps\app\dao\GitCommitHelper.java:[12,27] error: cannot access Git

Please help to advice.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Anders,

      I am using Java Version 8 Update 371. Is this why I am hitting this error?  



        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, what version of Java are you using? I'm able to build using Java 11 LTS

        1. Harita

          Hi Anders,

          I am now using Java 11 now and still hitting error: cannot access Git.

          java version "11.0.19" 2023-04-18 LTS
          Java(TM) SE Runtime Environment 18.9 (build 11.0.19+9-LTS-224)
          Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.19+9-LTS-224, mixed mode)

        CommentAdd your comment...