瀏覽代碼

[HDDS-1351] NoClassDefFoundError when running ozone genconf (). Contributed by Doroszlai Attila.

This closes #659.
Doroszlai, Attila 6 年之前
父節點
當前提交
7dc0ecc446
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      hadoop-ozone/tools/pom.xml

+ 12 - 0
hadoop-ozone/tools/pom.xml

@@ -59,6 +59,18 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <artifactId>hadoop-hdfs</artifactId>
       <scope>compile</scope>
     </dependency>
+    <dependency>
+      <groupId>com.sun.xml.bind</groupId>
+      <artifactId>jaxb-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>activation</artifactId>
+    </dependency>
     <dependency>
       <groupId>io.dropwizard.metrics</groupId>
       <artifactId>metrics-core</artifactId>