技术文章 - CS374929
在 Windchill 12.1 和 13.0 版本中重新编译 GWT 模块时,出现 java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler 错误。
已修改: 31-Dec-2025
适用于
- Windchill PDMLink 12.1 to 13.0
说明
- 重新编译 GWT 模块失败,出现java.lang.ClassNotFoundException 异常:com.google.gwt.dev.Compiler
- 重新编译 GWT 模块失败,出现java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler 错误。需要提供 gwt-dev.jar 文件。
- 执行命令ant -f gwt.xml时出现异常java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
- 错误:
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