Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.yarn.webapp.WebApps$Builder.build(Lorg/apache/hadoop/yarn/webapp/WebApp;)Lorg/apache/hadoop/yarn/webapp/WebApp;
at net.qihoo.xlearning.AM.ApplicationWebService.start(ApplicationWebService.java:35)
at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
at net.qihoo.xlearning.AM.ApplicationMaster.init(ApplicationMaster.java:217)
at net.qihoo.xlearning.AM.ApplicationMaster.main(ApplicationMaster.java:1245)
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.yarn.webapp.WebApps$Builder.build(Lorg/apache/hadoop/yarn/webapp/WebApp;)Lorg/apache/hadoop/yarn/webapp/WebApp; at net.qihoo.xlearning.AM.ApplicationWebService.start(ApplicationWebService.java:35) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120) at net.qihoo.xlearning.AM.ApplicationMaster.init(ApplicationMaster.java:217) at net.qihoo.xlearning.AM.ApplicationMaster.main(ApplicationMaster.java:1245)