我从github克隆了一个项目并尝试构建它。我配置了它的lib但是eclipse无法自动构建它,这意味着bin文件夹总是空的。我检查了源配置,默认输出是项目的bin。我还检查了运行配置,它指向我的主类。我删除了我的.metadata并重新导入了我的项目。它仍然无法工作。我不知道我现在应该怎么做。这是我的.classpath和.project。有人可以帮助我吗?
的.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/scala"/>
<classpathentry kind="src" path="src/test/scala"/>
<classpathentry kind="src" path="scripts"/>
<classpathentry excluding="org/nicta/uima/ae/featExtractor/" kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/java/org/nicta/uima/ae/featExtractor"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="lib" path="culib/akka-actor_2.10-2.3.6.jar"/>
<classpathentry kind="lib" path="culib/de.tudarmstadt.ukp.dkpro.core.stanfordnlp-model-tagger-en-bidirectional-distsim-20140104.1.jar"/>
<classpathentry kind="lib" path="culib/de.tudarmstadt.ukp.dkpro.core.stanfordnlp-upstream-tagger-en-bidirectional-distsim-20140104.jar"/>
<classpathentry kind="lib" path="culib/jline-2.12.jar"/>
<classpathentry kind="lib" path="lib/BIDMach.jar"/>
<classpathentry kind="lib" path="lib/BIDMat.jar"/>
<classpathentry kind="lib" path="lib/jcublas-0.6.5.jar"/>
<classpathentry kind="lib" path="lib/jcuda-0.6.5.jar"/>
<classpathentry kind="lib" path="lib/jcufft-0.6.5.jar"/>
<classpathentry kind="lib" path="lib/jcurand-0.6.5.jar"/>
<classpathentry kind="lib" path="lib/jcusparse-0.6.5.jar"/>
<classpathentry kind="lib" path="lib/jhdf5.jar"/>
<classpathentry kind="lib" path="lib/ptplot.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
的.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>DL-IE</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
答案 0 :(得分:1)
您可能还需要 javabuilder 。
将以下内容添加到.project文件中:
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>