0

I am using latest Studio and embedded 4.1.5 engine. I created a CommonProject with some reusable flows. 1 of the flow is using DW2.0 and is using a local class to cast the result of the transformation. CommonProject and DW work on its own.

Then I created a second project CallerProject. Added CommonProject as a dependency, and added the CommonProject FLOW via IMPORT:

When I call the CallerProject FLOW that uses the CommonProject imported flow, all seems to be working up to the DW2.0 transformation that is failing since the CLASS is not found.

Error: "Unable to find class ..."

Anything obvious I missed? The java class is in the CommonProject JAR within the CallerProject JAR

4

2 回答 2

0

我相信你想导入一个项目 JAR 文件。其步骤是:- 文件-> 导入 -> Anypoint Studio -> 打包的 Mule 应用程序(.jar)。

于 2019-03-19T13:44:59.743 回答
0

你没有提到 mavenizing 你的流程。这应该有助于:

https://support.mulesoft.com/s/article/How-to-add-a-call-to-an-external-flow-in-Mule-4

于 2019-03-20T08:14:44.233 回答