WSO2 Class Mediator 无法使用 wso2 integration studio 8.0.0 添加 pom.xml

WSO2 Class Mediator can't able to add in pom.xml using wso2 integration studio 8.0.0

我真的厌倦了使用 Integation studio 8.0.0。由于 Class Mediator 实施。项目已部署并且在没有 Class Mediator 的情况下也能正常工作。当我在编码中包含它并通过选择 Mediator 编辑 pom.xml 时,无法添加它。

显示如下ERROR。

如果我尝试将其保存并部署到远程服务器中,在我的本地 运行 中,Integration Studio 中的错误低于 ERROR。

IntegrationStudio- 错误对话框:

集成工作室ERROR:LOG:

java.lang.Exception: Can't find export handler for bundle
    at org.wso2.integrationstudio.platform.core.project.export.util.ExportUtil.buildProject(ExportUtil.java:89)
    at org.wso2.integrationstudio.distribution.project.export.DefaultArtifactExportHandler.exportArtifact(DefaultArtifactExportHandler.java:37)
    at org.wso2.integrationstudio.distribution.project.export.CarExportHandler.exportArtifactHelper(CarExportHandler.java:130)
    at org.wso2.integrationstudio.distribution.project.export.CarExportHandler.exportArtifact(CarExportHandler.java:67)
    at org.wso2.integrationstudio.distribution.project.publisher.CAppProjectRemotePublisher.publish(CAppProjectRemotePublisher.java:48)
    at org.wso2.integrationstudio.carbonserver.remote.operations.ServiceModuleOperations.publishServiceModule(ServiceModuleOperations.java:152)
    at org.wso2.integrationstudio.carbonserver.remote.internal.RemoteCarbonServerBehavior.publishModule(RemoteCarbonServerBehavior.java:120)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1093)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1185)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:989)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:776)
    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3184)
    at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:357)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

我敢肯定,使用 WSO2 Developer Studio 时,这可能是最简单的事情。

这是集成工作室工具的错误吗?还是我遗漏了什么?

在 Mediumor 项目的 pom.xml 文件中添加一行代码:

<properties>
    <CApp.type>lib/synapse/mediator</CApp.type>
</properties>

结果如下:

<name>demomediator</name>
<properties>
    <CApp.type>lib/synapse/mediator</CApp.type>
</properties>
<description>demomediator</description>
......

我尝试使用 https://www.fixes.pub/program/836665.html,效果很好。