To compile, your own hbase project, hadoop-env.sh must include hbase library.
hbase.jar and zookeeper.jar files are included in HADOOP_CLASSPATH:
# Extra Java CLASSPATH elements. Optional.
export HBASE_HOME=/usr/local/hbase
export HADOOP_CLASSPATH=$HBASE_HOME/hbase-0.92.1.jar:$HBASE_HOME/lib/zookeeper-3.4.3.jar:$HBASE_HOME/conf/