ant 自动测试问题!

发布于 2021-12-06 23:47:05 字数 1736 浏览 746 评论 0

Buildfile: D:lxit.antbuild-elevate.xml

prepare:

compile:

jar:

      [jar] Building jar: D:lxit.antlxit.ant.jar

junit:

    [junit] Running com.lxit.party.dao3.CmsUserMngTest

    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.86 sec

    [junit] Running com.lxit.party.dao3.PaymentDaoImplTest

    [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 6.391 sec

    [junit] Test com.lxit.party.dao3.PaymentDaoImplTest FAILED

    [junit] Running com.lxit.party.dao3.PlayCardDaoImplTest

    [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 6.188 sec

    [junit] Test com.lxit.party.dao3.PlayCardDaoImplTest FAILED

    [junit] Running com.lxit.party.dao3.ViolationDaoImplTest

    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.39 sec

[junitreport] Processing D:lxit.antbuildjunitreportTESTS-TestSuites.xml to C:DOCUME~1ADMINI~1LOCALS~1Tempnull748600747

[junitreport] Loading stylesheet jar:file:/E:/ruanjian/tool/eclipse-3.7.2/plugins/org.apache.ant_1.8.2.v20120109-1030/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl

[junitreport] : Error! 当安全处理功能设置为“真”时, 不允许使用扩展元素 'redirect'。

[junitreport] Failed to process D:lxit.antbuildjunitreportTESTS-TestSuites.xml

BUILD FAILED

D:lxit.antbuild-elevate.xml:63: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: 当安全处理功能设置为“真”时, 不允许使用扩展元素 'redirect'。

Total time: 27 seconds

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文