技术文章 - CS179457

更新 Windchill PDMLink 时,Update_tool 命令失败,并显示错误“类未在 modelRegistry.properties 中注册”

已修改: 11-Mar-2025   


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

适用于

  • Windchill PDMLink 9.1 to 13.0

说明

  • UpgradeManager 期间任务初始化升级失败
  • 更新 Windchill 时,Update_tool 命令失败,并显示错误“类未在 modelRegistry.properties 中注册”
  • 运行 CPS PSI 失败,出现错误“类未在 modelRegistry.properties 中注册”
  • Windchill 方法服务器启动失败,错误为“类未在 modelRegistry.properties 中注册”
  • 报告错误:
ERROR[main] com.ptc.windchill.upgrade.statemachine.UpgradeFrameworkStateMachine - State execution encountered exception: ReportWriterUpgradeState(Upgrade Database Schema)
wt.util.WTException: wt.util.WTException: (wt.introspection.introspectionResource/9) wt.introspection.InfoNotFoundException: Class not registered in modelRegistry.properties: ****.
Nested exception is: (wt.introspection.introspectionResource/9) wt.introspection.InfoNotFoundException: Class not registered in modelRegistry.properties: ****.
Nested exception is: wt.util.WTException: (wt.introspection.introspectionResource/9) wt.introspection.InfoNotFoundException: Class not registered in modelRegistry.properties: ****.
Nested exception is: (wt.introspection.introspectionResource/9) wt.introspection.InfoNotFoundException: Class not registered in modelRegistry.properties: ****.
at wt.introspection.WTIntrospector.loadInfo(WTIntrospector.java:690)
at wt.introspection.WTIntrospector.getClassInfo(WTIntrospector.java:317)
at wt.introspection.BaseTableInfo.accumulateColumns(BaseTableInfo.java:127)

  • 重现步骤:
  1. modelRegistry.properties文件放在wtsafearea下后,使用站点修改选项运行 PSI
  2. 使用完整选项运行 PSI
  3. 运行更新工具命令
这是文章 179457 的 PDF 版本,可能已过期。最新版本 CS179457