技术文章 - CS294540

单击 Windchill 中的新增功能选项卡会引发错误无法在 Windchill PDMLink 中为 JSP 编译类

已修改: 22-Dec-2022   


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

适用于

  • Windchill PDMLink 10.2 to 11.1

说明

  • 单击What's New in Windchill选项卡会引发错误Unable to compile class for JSP
  • 浏览器报如下错误:
JBWEB000309:类型 JBWEB000066:异常报告

JBWEB000068:消息 JBWEB004062:无法为 JSP 编译类:

JBWEB000069:描述 JBWEB000145:服务器遇到内部错误,无法完成此请求。

JBWEB000070:异常

org.apache.jasper.JasperException:JBWEB004062:无法为 JSP 编译类:

JBWEB004060:jsp 文件中的第 84 行发生错误:/wcms/relnotes/index.jsp
方法 getChildren(Keyword) 未为类型 KeywordHash 定义
81:long startTime = (new Date()).getTime();
82:
83://获取某些产品的孙子 dbkeys 以进行他们的孩子查找
84:int[] creoChildren = Keyword.getDbkeys(wcmsKeywordBean.getChildren(wcmsKeywordBean.getKeyword(KEY_CREO)));
85: ArrayList<整数> creoGrandkidList = new ArrayList<整数>();
86: for (int i=0; i<creoChildren.length; i++) {
87:int[] childChildren = Keyword.getDbkeys(wcmsKeywordBean.getChildren(wcmsKeywordBean.getKeyword(creoChildren[i])));

JBWEB004060:jsp 文件中的第 87 行发生错误:/wcms/relnotes/index.jsp
方法 getChildren(Keyword) 未为类型 KeywordHash 定义
84:int[] creoChildren = Keyword.getDbkeys(wcmsKeywordBean.getChildren(wcmsKeywordBean.getKeyword(KEY_CREO)));
85: ArrayList<整数> creoGrandkidList = new ArrayList<整数>();
86: for (int i=0; i<creoChildren.length; i++) {
87:int[] childChildren = Keyword.getDbkeys(wcmsKeywordBean.getChildren(wcmsKeywordBean.getKeyword(creoChildren[i])));
88: for (int j=0; j<childChildren.length; j++) {
89:creoGrandkidList.add(childChildren[j]);
90:&rtbrace;

JBWEB004060:jsp 文件中的第 95 行发生错误:/wcms/relnotes/index.jsp
方法 getChildren(Keyword) 未为类型 KeywordHash 定义
  • 重现问题的步骤:
  1. 登录到 Windchill 用户界面。
  2. 转到快速链接>帮助> 单击What's New Windchill选项。
  3. 它将打开一个带有上述错误的弹出窗口
这是文章 294540 的 PDF 版本,可能已过期。最新版本 CS294540