我从 i2b2.org 站点下载了应用程序服务器 Java 源代码,并对其进行了编译以进行部署。这个应用程序运行在 JBoss 之上。我在 Eclipse 中切换到的工作区中有 8 个项目文件夹(这 8 个项目所在的根目录)。有几个错误。
看起来其他人遇到了同样的问题:
https://www.i2b2.org/software/augrepo.html
以下是编译时错误的完整列表:
这是一个:
Project 'edu.harvard.i2b2.common' is missing required source folder: 'gensrc'
如果我右键单击“edu.harvard.i2b2.common”项目,然后选择“构建路径”,然后选择“配置构建路径”,然后导航到“源”选项卡,我看到我们缺少一个文件夹。
在 Windows 中,我看到该文件夹存在。看起来我的 CLASSPATH 需要该文件夹,但该项目没有包含它。在 Eclipse 中解决此问题的正确方法是什么?
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/core"/>
<classpathentry kind="src" path="gensrc"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/commons/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="lib/commons/commons-collections-2.1.1.jar"/>
<classpathentry kind="lib" path="lib/commons/commons-httpclient-3.0.jar"/>
<classpathentry kind="lib" path="lib/commons/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/jdbc/ojdbc14.jar"/>
<classpathentry kind="lib" path="lib/dom4j/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/hibernate/hibernate3.jar"/>
<classpathentry kind="lib" path="lib/j2ee/jbossall-client.jar"/>
<classpathentry kind="lib" path="lib/jaxb/jaxb-api.jar"/>
<classpathentry kind="lib" path="lib/jaxb/jaxb-impl.jar"/>
<classpathentry kind="lib" path="lib/jaxb/jaxb-xjc.jar"/>
<classpathentry kind="lib" path="lib/spring/spring-2.0.jar"/>
<classpathentry kind="lib" path="lib/jaxb/jaxb1-impl.jar"/>
<classpathentry kind="lib" path="lib/jaxb/jsr173_1.0_api.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axiom-api-1.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axiom-dom-1.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axiom-impl-1.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-adb-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-adb-codegen-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-codegen-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-java2wsdl-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-jibx-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-kernel-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/axis2-saaj-1.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/mail-1.4.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/neethi-2.0.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/stax-api-1.0.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/woden-1.0.0M6.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/wsdl4j-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/wstx-asl-3.0.1.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/xml-apis-1.3.03.jar"/>
<classpathentry kind="lib" path="lib/axis2-1.1/XmlSchema-1.2.jar"/>
<classpathentry kind="lib" path="lib/junit/junit-4.4.jar"/>
<classpathentry kind="lib" path="lib/jaxb/activation-1.1.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>