fish3129 发表于 2016-12-9 06:12:12

hadoop-0.21.0-eclipse-plugin无法在eclipse中运行解决方案

  LINUX下将hadoop-0.21自带的hadoop eclipse plugin放到eclipse dropins目录中无法正常运行,使用eclipse -consolelog 发现找不到hadoop的类,解压hadoop-0.21.0-eclipse-plugin.jar发现META-INF下的MANIFEST.MF文件中,Bundle-ClassPath写的有问题,他写的是/lib/hadoop-core.jar,把hadoop目录下的hadoop-common-0.21.0.jar,hadoop-hdfs-0.21.0.jar,hadoop-mapred-0.21.0.jar,log4j-1.2.15.jar放到lib下
  然后修改Bundle-ClassPath,把上述几个文件放进去,重新打包为jar文件,放到eclipse dropins目录下即可
页: [1]
查看完整版本: hadoop-0.21.0-eclipse-plugin无法在eclipse中运行解决方案