How to import org.apache Java dependencies w/ or w/o Maven

前端 未结 7 1222
南旧
南旧 2020-12-09 11:50

So the quick background is I am creating a java program, that uses many different imports

    import org.apache.hadoop.conf.*;
    import org.apache.hadoop.f         


        
7条回答
  •  臣服心动
    2020-12-09 12:39

    Download the .jar file here: http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-core/0.20.2

    In Eclipse, right-click on your project, click Properties, search in the text box for Library, click on Build Paths, click Add External JAR, and select the file you downloaded from the link above.

提交回复
热议问题