我在 IIB v10 中构建了一个应用程序,我在其中引用了来自 esql 的 Java 例程。我已经将 java 类创建为独立资源,然后将其导出为 JAR 文件并将其放在C://lib. 有一个现有的 java 类加载器配置服务,它还从C://lib. 然后,我用新的 jar 名称及其路径修改了 Java 类加载器的现有配置服务。此外,重新启动代理并通过mqsireportbroker命令和 webconsole 检查以确认新 jar 已在配置服务中更新。现在,当我将 BAR 文件部署到服务器时,出现以下错误。
BIP3202E: (com.xxxx.soa.xx.xxx.createMD5Hash, 1.12) : An error occurred when trying to resolve the Java class or method 'com.xxxx.gen.createMD5.createMD5Hash' which is referred to by the routine 'createMD5Hash'.
生成进一步的消息,更详细地解释错误。
Correct the syntax of your Java expression in node 'com.xxxx.soa.xx.xxx.createMD5Hash', around line and column '1.12', then redeploy the message flow.
BIP2943E: The Java Method 'com.xxxx.gen.createMD5.createMD5Hash' could not be found as its containing class could not be found in the deployed bar file or in the 'workpath/shared-classes/' directory.
The specified Java Method 'com.xxxx.gen.createMD5.createMD5Hash' belongs to a class that could not be found in the deployed bar file or the 'workpath/shared-classes/' directory. Ensure that the fully qualified name of the method is correct and that its containing class or jar file is in the deployed bar file or in the 'workpath/shared-classes/' directory.
Examine and correct the SQL program.
当我将 jar 文件放在 workpath/shared-classes 目录下时,它的工作。但我希望 jar 文件取自共享类库,即C://lib. 在这种情况下我错过了什么?
慕慕森
隔江千里
大话西游666
相关分类