【发布时间】:2014-03-08 06:41:26
【问题描述】:
好的,我做了更多的研究,目前 MuleSoft 似乎只为 Cloudhub 部署提供 3.5.0。下一个主要的本地版本将在春季的某个时间发布。以下是 3.5.0 release notes 和 blog post,解释了 Cloudhub 和内部部署的不同发布计划。感谢 Anton 为我指明了正确的方向。
我正在尝试让示例盒连接器项目项目运行。
我使用默认的 pom 文件生成了一个新项目,并从这里复制了流程 https://github.com/mulesoft/box-connector/blob/master/demo/src/main/app/box-connector-demo.xml
我将 box 和对象存储依赖项添加到我的 pom 中
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-objectstore</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-box</artifactId>
<version>RELEASE</version>
</dependency>
盒子连接器需要 Mule 3.5 才能运行。我正在运行 Mule Studio 3.5.0 版,但是我更新了我的运行时,最新版本似乎是 3.4.2 EE。 那么连接器指的是哪个版本?我希望是 Studio。
所以有可能我的运行时不正确。
这是我得到的错误。我缺少盒子连接器中 Oauth 功能的依赖项。不知道为什么盒子连接器安装说明不包含对此的依赖。在哪里可以找到
java.lang.NoClassDefFoundError: org/mule/security/oauth/config/AbstractDevkitBasedDefinitionParser (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException)
我在 Maven 存储库中搜索了这个类,它就在这个依赖项中
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-devkit-support</artifactId>
<version>3.5.0-bighorn</version>
</dependency>
当我添加这个依赖时,我收到另一个错误
java.lang.ClassNotFoundException: org.mule.common.connection.exception.UnableToAcquireConnectionException
我添加了几个 3.5.0 依赖项,然后收到 NoSuchMethodFoundException,这让我相信我现在遇到了一些版本问题。所以我觉得我现在有点像老鼠洞。我希望我使用了错误的运行时和错误的依赖项。 有什么想法吗?
【问题讨论】:
标签: mule