Java 在eclipse juno中运行mapreduce程序时出错
我正在使用cdh4和eclipsejuno 在运行wordcount程序时,我遇到了这个错误 线程“main”java.lang.NoClassDefFoundError中出现异常:org/apache/commons/lang/StringUtilsJava 在eclipse juno中运行mapreduce程序时出错,java,eclipse,hadoop,mapreduce,Java,Eclipse,Hadoop,Mapreduce,我正在使用cdh4和eclipsejuno 在运行wordcount程序时,我遇到了这个错误 线程“main”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或导入
我已经安装了commons-lang3-3.1 jar文件您导入了错误的类。从3开始,包是
org.apache.commons.lang3
而不是org.apache.commons.lang
。您需要使用commons-lang-2*.jar或导入适当的类。检查您的类路径。。。