我需要在 Axway B2Bi 软件中实现一个 JMC 项目。我按照文档创建了组件类、信息类和清单文件。我在我的java代码中没有发现任何sintax问题,但是,不可能实现该代码。我认为问题可能与清单文件的组件与 b2bi 条件不兼容有关,但我不知道如何解决这个问题。
我的清单文件与此类似:
Manifest-Version: 1.0
Main-Class: com.axway.xib.samples.Sorter
Container-Version: 2.6-UP2023-10
Component-Version: 11.0.21
Class-Path: ../lib/commons-lang3-3.14.0.jar ../lib/development-kit-api-1.3.0_R117682.jar ../lib/development-kit-runtime-1.3.0_R117682.jar ../lib/development-kit-simulator-1.3.0_R117682.jar ../lib/commons-beanutils-1.9.4.jar ../lib/commons-collections4-4.4.jar ../lib/commons-logging-1.3.0.jar
Build-Jdk: 11.0.21
根据文档JMC,清单文件必须如下所示:
Manifest-Version: 1.0
Main-Class: com.axway.xib.samples.Sorter
Container-Version: x1.x2
Component-Version: y1.y2
Where:
Main-Class is the name of the principle JMC class
x1.x2 corresponds to the chosen API version
y1.y2 corresponds to the actual component version you are currently developing