I am using latest maven, build failed with zookeeper source code checked out 
from github. but build is fine with downloaded source code 
apache-zookeeper-3.6.1.tar.gz

$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/jun/programs/apache-maven-3.6.3
Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: 
/home/jun/programs/jdk1.8.0_251/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: "unix"


________________________________
From: Michael Han <h...@apache.org>
Sent: Wednesday, May 20, 2020 1:08 AM
To: user <user@zookeeper.apache.org>
Cc: d...@zookeeper.apache.org <d...@zookeeper.apache.org>
Subject: Re: Need Help with Maven Build

hi jun - which maven version you are using?

If it's 3.5.x, try upgrade to 3.6.x. I had the exact same issue a while
back and upgrade maven fixed this, so I didn't bother to debug. That said,
it's interesting to understand why we failed under specific version of
maven / env, so cc dev list where we have a few maven experts who might be
able to help debug.


On Tue, May 19, 2020 at 8:34 AM Jun Wang <wj1...@hotmail.com> wrote:

> Hi
>
> I got following build error with latest code from github.  But build is
> fine with downloaded source code.   Any suggestion is appreciated.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project zookeeper: Fatal error compiling:
> java.lang.NullPointerException -> [Help 1]
>
>
> https://gist.githubusercontent.com/wj1918/b1bcea0473b9ff2096ffa22e3c387e8f/raw/8c2ccfb7919470e0e874abdec5633976720e3dca/zookeeper.build.error.txt
>
> Thanks
> Jun

Reply via email to