dcm4chee dcm4jboss ejb build fail build.xml

时间:2014-07-16 08:07:53

标签: dcm4che

我构建了Ant文件build.xml,但它失败并出现错误:

{BUILD FAILED

Projects\source\dcm4jboss-all\dcm4jboss-ejb\build.xml:145: taskdef A class needed by class xdoclet.modules.ejb.EjbDocletTask cannot be found: xjavadoc/ant/XJavadocTask.


File build.properties: 
#javac options
javac.debug=on
javac.deprecation=off
javac.optimize=on
javac.source=1.5
javac.target=1.5

#Override with your dcm4che-1.4.x dist location
dcm4che14.home= D:\Works\Projects\source\dcm4che14

#Override with your XDoclet dist location
xdoclet.home= D:/Works/Projects/Pacs/Buildpath/xdoclet1.2.3

#Override with your Cactus dist location
cactus.home=D:/Works/Projects/Pacs/Buildpath/cactus-1.8.1-bin

#Override with your JBoss dist location
jboss.home= D:/Works/Projects/Pacs/Buildpath/jboss-4.2.3.GA

}

问题:

  1. 发生了什么事?
  2. 怎么解决?

1 个答案:

答案 0 :(得分:0)

您可以尝试以下方式:

  1. 尝试将JAVA_HOME的PATH编辑为jdk6
  2. 将Xdoclet库添加到项目/ lib
  3. 尝试清洁构建
  4. 从dcm4che重新下载源并将xdoclet,...复制到{user.home},不要更改build.xml
  5. 希望这个帮助