Skip to main content
1-Visitor
December 10, 2025
Question

Unable to Update Upper Limit of NAME Attribute on WTPart – Error During Ant Script Execution

  • December 10, 2025
  • 2 replies
  • 111 views
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0

We are trying to update the upper length limit of the NAME attribute on WTPart, following the steps described in article CS155068. When we run the Ant script (ant -f bin\tools.xml custom_column -Dgen.input=wt.part), we receive the following error in the Shell: java.lang.NoClassDefFoundError: org/apache/commons/lang3/exception/ExceptionUtils

Here are the errors that I faced
ava] Processing single class: wnc/Foundation:wt.part.WTPartMaster
[java] DataStore = SQLServer
[java] wt.generation.sql.useDatastore = false
[java] wt.generation.sql.loadIntrospectionFromClasspath= true
[java] wt.db.maxBytesPerChar = 1
[java] InsternalUsage = false
[java] Begin sql generation for wt.part.WTPartMaster
[java] 15:23:16.508 [main] ERROR wt.util.AppStarter - ERROR: details below
[java] ERROR: java.lang.NoClassDefFoundError: org/apache/commons/lang3/exception/ExceptionUtils (check log for details: D:\ptc\Windchill_13.0\Windchill\buildlogs\tools-CustomizeColumnLength.log)
[java] 15:23:16.521 [main] ERROR wt.util.AppStarter -
[java] java.lang.NoClassDefFoundError: org/apache/commons/lang3/exception/ExceptionUtils
[java] at com.ptc.commons.lang.util.exception.ExceptionUtils.getStackTrace(ExceptionUtils.java:21) ~[codebase/:?]
[java] at wt.tools.SqlGenerator.processModuleQualifiedTarget(SqlGenerator.java:152) ~[SystemGeneration.jar:?]
[java] at wt.tools.SqlGenerator.processClass(SqlGenerator.java:101) ~[SystemGeneration.jar:?]
[java] at wt.tools.generation.ModelProcessor.execute(ModelProcessor.java:89) ~[SystemGeneration.jar:?]
[java] at wt.tools.SqlGenerator.execute(SqlGenerator.java:57) ~[SystemGeneration.jar:?]
[java] at wt.tools.CustomizeColumnLength.sqlGen(CustomizeColumnLength.java:218) ~[SystemGeneration.jar:?]
[java] at wt.tools.CustomizeColumnLength.execute(CustomizeColumnLength.java:83) ~[SystemGeneration.jar:?]
[java] at wt.util.AppStarter.startAppWithCurrentClassLoader(AppStarter.java:287) ~[codebase/:?]
[java] at wt.util.AppStarter.startApp(AppStarter.java:150) [codebase/:?]
[java] at wt.util.AppStarter.main(AppStarter.java:479) [codebase/:?]
[java] Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.exception.ExceptionUtils
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
[java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
[java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
[java] ... 10 more
!+! ERROR OCCURRED @ D:\ptc\Windchill_13.0\Windchill\bin\tools.xml:1478: !!!

    2 replies

    jbraga
    21-Topaz I
    December 10, 2025

    The commons-lang3.jar library should be contained in the Windchill/srclib directory. This JAR is incorporated into Windchill/codebase/WEB-INF/lib/wc3rdpartylibs.jar by the command in article CS378840 under Windchill/srclibant -f windchill3rdPartyJars.xml wcjars

    Catalina
    Community Moderator
    December 24, 2025

    Hi @PS_11312577 ,

    I wanted to see if you got the help you needed.

    If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.

    Of course, if you have more to share on your issue, please pursue the conversation.

    Thanks,

    Catalina | PTC Community Moderator