繁体   English   中英

在Eclipse Juno中运行MapReduce程序时出错

[英]Error while running mapreduce program in eclipse juno

我正在使用cdh4eclipse juno

在运行wordcount程序时遇到此错误

线程“主”中的异常java.lang.NoClassDefFoundError:org / apache / commons / lang / StringUtils

我已经安装了commons-lang3-3.1 jar文件

您正在导入错误的类。 从3开始,软件包为org.apache.commons.lang3而不是org.apache.commons.lang 您需要使用commons-lang-2 * .jar或导入适当的类。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM