技术文章 - CS404988

在 Windchill 中执行“ant -f codebase/MakeJar.xml custUpdate”时出现错误

已修改: 10-Nov-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • FlexPLM 12.0 to 12.1
  • Windchill PDMLink 12.0 to 12.1

说明

  • 执行ant -f codebase/MakeJar.xml custUpdate 时出现错误:
    BUILD FAILED
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:748: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:505: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:486: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:478: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:219: Execute failed: java.io.IOException: Cannot run program "/opt/xxx/ptc/Windchill_12.0/Java_11/bin/jar" (in directory "/opt/xxx/ptc/Windchill_12.1/Windchill/codebase"): error=2, No such file or directory
这是文章 404988 的 PDF 版本,可能已过期。最新版本 CS404988