如果java -jar target/hbase-demo-1.0-SNAPSHOT.jar HBaseDemo 提示如下
no main manifest attribute, in target/hbase-demo-1.0-SNAPSHOT.jar
则执行如下命令
java -cp target/hbase-demo-1.0-SNAPSHOT.jar HBaseDemo
如果java -jar target/hbase-demo-1.0-SNAPSHOT.jar HBaseDemo 提示如下
no main manifest attribute, in target/hbase-demo-1.0-SNAPSHOT.jar
则执行如下命令
java -cp target/hbase-demo-1.0-SNAPSHOT.jar HBaseDemo