【发布时间】:2011-05-11 09:27:59
【问题描述】:
Ant 任务在 <wsejbdeploy> 标记处中断。异常消息是:
[wsejbdeploy] Error executing deployment: java.lang.ClassNotFoundException.
Error is com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.
[wsejbdeploy] java.lang.ClassNotFoundException:
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension
[wsejbdeploy] at java.lang.Class.forName(Class.java:136)
除此之外,ivy.xml 报告了问题,但是当我检查它时,这些消息毫无意义(screenshot)。我怀疑问题可能是:
a) 我为构建而拥有的与升级后的 Ant 冲突的附加文件(在 RSA 7.0 中,我有 Ant 1.6.5,而 RSA 8.0 带有 Ant 1.7.1)。其他文件是:
ant 任务执行所必需的
- ant-contrib/ant-contrib.jar
- antelope-tasks/AntelopeTasks_3.2.10.jar
- antform/antform.jar
- antform/defaultStyle.txt
- antlr/antlr.jar
- checkstyle/checkstyle-4.2.jar
- checkstyle/checkstyle-optional-4.2.jar
- checkstyle/checkstyle-frames-errors.xsl
- clover/clover.jar
- clover/cenquatasks.jar
- clover/clover.license
- doccheck/doccheck-modified.jar
- ivy/ivy-20060723172807.jar
- jakarta-commons/commons-beanutils.jar
- resources/checkstyle/checks-source.xml
- resources/checkstyle/checksTransformation.xsl
b) Ant 中关于 EJB 构建的更改需要重新配置一些设置。
c) 别的东西:)
除了错误,其他一切都是在黑暗中刺伤,所以请随时询问任何其他信息。
【问题讨论】:
-
你在使用ws_ant吗?如果是这样,我建议与 IBM 建立 PMR。
-
我在 RSA 中使用默认的 ant builder。
标签: ant build-automation ejb websphere