1

我使用 Hadoop 2.4.x、Spring 4.0.6、Spring-Data-Hadoop 2.0.1.RELEASE-hadoop24

我只运行 jar 文件然后没有问题。但是用tomcat运行有一些错误;

我的hadoop配置如下:

<hdp:configuration id="hadoopConfiguration">
   fs.default.name=hdfs://xxxx:9000
</hdp:configuration>

并运行Tomcat 7.0.52 版本。

现在错误

org.springframework.beans.factory.BeanCreationException:创建名为“hadoopConfiguration”的bean时出错:调用init方法失败;嵌套异常是 java.lang.VerifyError: (class: com/google/common/collect/Interners, method: newWeakInterner signature: ()Lcom/google/common/collect/Interner;) 函数不兼容的参数

4

0 回答 0