技术文章 - CS374929

在 Windchill PDMLink 中重新编译 GWT 模块时,出现 java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler 异常。

已修改: 27-Oct-2026   


适用于

  • Windchill PDMLink 12.1 to 13.1

说明

  • 重新编译 GWT 模块失败
  • 执行命令ant -f gwt.xml时出现异常
  • 错误:
ava] CompileCommand: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
[java] CompileCommand: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.<init>
[java] CompileCommand: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
[java] Error: Could not find or load main class com.google.gwt.dev.Compiler
[java] Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
!+! ERROR OCCURRED @ E:\ptc\Windchill_12.1.1\Windchill\bin\gwt.xml:50: !!!
********************************************************************************
!+! FINISHED @ Thu Aug 18 12:23:15 CEST 2022
!+! Log: E:\ptc\Windchill_12.1.1\Windchill\buildlogs\0006-gwt.log
********************************************************************************

BUILD FAILED
E:\ptc\Windchill_12.1.1\Windchill\bin\gwt.xml:50: The following error occurred while executing this line:
E:\ptc\Windchill_12.1.1\Windchill\bin\gwt.xml:54: The following error occurred while executing this line:
E:\ptc\Windchill_12.1.1\Windchill\bin\gwt.xml:85: The following error occurred while executing this line:
E:\ptc\Windchill_12.1.1\Windchill\bin\gwt.xml:174: Java returned: 1 
这是文章 374929 的 PDF 版本,可能已过期。最新版本 CS374929