diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java index ff52324261..c0daac9763 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java @@ -83,7 +83,7 @@ private ContextFactory() { public static JAXBContext newContext(Class[] classes, Map properties) throws Exception { Class spFactory = Class.forName( - "com.sun.xml.internal.bind.v2.ContextFactory"); + "com.sun.xml.bind.v2.ContextFactory"); Method m = spFactory.getMethod("createContext", Class[].class, Map.class); return (JAXBContext) m.invoke((Object) null, classes, properties); } @@ -123,7 +123,7 @@ public static JAXBContext createContext(Class[] classes, public static JAXBContext createContext(String contextPath, ClassLoader classLoader, Map properties) throws Exception { Class spFactory = Class.forName( - "com.sun.xml.internal.bind.v2.ContextFactory"); + "com.sun.xml.bind.v2.ContextFactory"); Method m = spFactory.getMethod("createContext", String.class, ClassLoader.class, Map.class); return (JAXBContext) m.invoke(null, contextPath, classLoader,