You need to do a "mvn clean install -DskipTests" on the *entire HBase project, not just hbase-server*. Should get you going.
-Jesse ------------------- Jesse Yates @jesse_yates jyates.github.com On Wed, Jun 26, 2013 at 11:04 AM, Shivendra Singh < shivendra.p.si...@oracle.com> wrote: > Hi All, > > I am trying to compile the hbase-server project after cloning the git > repository. > However, it is errors out: > * Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project hbase-server: Compilation failure: Compilation > failure: > [ERROR] > /scratch/shivends/hbase-patch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[490,56] > incompatible types; no instance(s) of type variable(s) K,V exist so that > java.util.TreeMap<K,V> conforms to > java.util.Map<byte[],java.util.Set<byte[]>> > [ERROR] found : <K,V>java.util.TreeMap<K,V>* > > Please help me to proceed. > > Thanks, > Shivendra >