Article - CS374929

Recompiling GWT module fails with java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler on Windchill 12.1. & 13.0

Modified: 10-Oct-2025   


Applies To

  • Windchill PDMLink 12.1 to 13.0

Description

  • Recompiling GWT module fails java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
  • Recompiling GWT module fails java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler. Need to provide the gwt-dev.jar
  • Getting exception java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler while executing the command ant -f gwt.xml
  • Error:
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


 

This is a printer-friendly version of Article 374929 and may be out of date. For the latest version click CS374929