错误类加载序列

当配置 Rule Execution Server 或 Decision Center,如果未更改类加载序列,那么将显示错误消息。

症状

您收到错误信息类似于以下这条:Error 500: java.lang.NoSuchMethodError: org/apache/myfaces/taglib/core/LoadBundleTag.setBasename(Ljava/lang/String;)V

原因

类加载序列设置为父类优先。

环境

分布式平台的 Rule Execution Server 或 Decision Center 或 System z 上的 Linux。

解决问题

部署 EAR 文件之后,您必须更改类加载的顺序。针对 WebSphere® Application Server,如相关主题解释的那样,在 in the WebSphere Integrated Solutions Console 中将类加载序列设置为父代优先。