Jeff,
I was using ‘mvn package’
I will upgrade java and try again.  
Thanks,
Don


Sent from Yahoo Mail for iPhone


On Friday, April 26, 2019, 7:21 AM, Jeffrey Manno <[email protected]> 
wrote:

You can try upgrading java to see if that helps. For reference, my version
is 1.8.0_201.

Which maven command are you using to build accumulo 2.0?

On Fri, Apr 26, 2019 at 5:41 AM d resnik <[email protected]>
wrote:

> I am trying to build accumulo 2.0 (master) to work on a ticket, but I keep
> getting this error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project accumulo-core: Compilation failure:
> Compilation failure:
>
> [ERROR]
> /Users/VandelayMacBookAir/git/accumulo/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java:[352,62]
> incompatible types: ? super
> java.util.Iterator<java.util.Map.Entry<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>>
> cannot be converted to
> java.util.Iterator<java.util.Map.Entry<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>>
>
> [ERROR]
> /Users/VandelayMacBookAir/git/accumulo/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java:[352,35]
> incompatible types: bad return type in lambda expression
>
> [ERROR]    cannot infer type-variable(s) F,T
> [ERROR]      (argument mismatch; incompatible parameter types in lambda
> expression)
> Here is my java version
>
> java version "1.8.0_31"
>
> Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
> I can't find anything in the accumulo docs about the java version
> required, please let me know if I need to upgrade java to build.
> Thanks,
> Don Resnik



Reply via email to