报错:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.conf.Configuration
可能缺少commons-collections-3.2.2.jar、guava-11.0.2.jar(各版本不定自选)
报错:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/protobuf/ServiceException
可能缺少:protobuf-java-2.5.0.jar
报错:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.security.UserGroupInformation
可能缺少:commons-configuration.jar、hadoop-auth-2.7.1.jar