【问题标题】:Problems moving move Anypoint Studio 7.4 to 7.9?将 Anypoint Studio 7.4 移动到 7.9 时出现问题?
【发布时间】:2021-08-12 13:22:59
【问题描述】:

升级到 Studio 7.9 时是否有任何关于第三方连接器的已知问题?

导入/打开我的项目后,所有外部连接器(SAP 和 Salesforce)都无法导入:

Resolving dependency com.sap.conn.jco:com.sap.conn.jco.sapjco3 found the following exceptions:
org.eclipse.aether.resolution.DependencyResolutionException: Failed to collect dependencies at com.sap.conn.jco:libsapjco3:so:external-library:3.x.x

Salesforce 也一样:

Resolving dependency com.mulesoft.connectors:mule-salesforce-connector found the following exceptions:
org.eclipse.aether.resolution.DependencyResolutionException: Failed to collect dependencies at com.mulesoft.connectors:mule-salesforce-connector:jar:mule-plugin:9.4.0 -> com.sun.xml.ws:jaxws-rt:jar:2.2.10
...

更新:

我认为这是一个 Maven 问题,例如在旧的 POM 文件中,anypoint 存储库的 url 是“https://maven.eu1.anypoint.mulesoft.com/api/v1/maven”,而如果我在 7.9 中创建一个新项目,它是“https:// maven.eu1.anypoint.mulesoft.com/api/v2/maven"

同样在工作室设置中它是 maven 3.3.9 VS 3.6.3 在新的。

那么,我应该进行一种 pom 转换吗?还是手动降级maven版本?

【问题讨论】:

  • 您使用的是同一个用户吗?您是使用升级功能升级 Studio 还是将 Studio 7.9 作为新应用程序下载?
  • 是同一个用户,是的。我必须买一台新电脑,所以我在新机器上安装了全新的工作室(包括提到的操作系统更新)。

标签: mule-studio anypoint-studio mulesoft


【解决方案1】:

可能是 Maven 问题来自拥有一台新机器。如果您有一个新的 $HOME/.m2 目录,您将丢失手动添加的依赖项(SAP 的?)以及该目录中自定义的 Maven settings.xml。

如果您没有配置 MuleSoft 企业存储库,请按照文档中的说明进行操作:https://docs.mulesoft.com/mule-runtime/3.9/configuring-maven-to-work-with-mule-esb#referencing-mulesofts-enterprise-repositories

如果您在旧计算机的本地 Maven 存储库中手动添加了任何依赖项,则需要在新计算机中重新安装它们。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-14
    • 1970-01-01
    • 1970-01-01
    • 2022-01-22
    • 1970-01-01
    相关资源
    最近更新 更多