Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

mule-artifact.json を minimumMuleVersion 4.6.0 に更新すると、カスタムポリシーのデプロイに失敗する

公開日: Jun 11, 2025
説明

4.3.0 またはそれ以前のバージョンで作成された HTTP リクエストを含むカスタムポリシーは、mule-artifact.json の minimum mule version を 4.3.0 から 4.4.0 以上に変更した場合、4.4.0 以降でデプロイメントに失敗します。

org.xml.sax.SAXException: http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd を解決できません。依存関係またはプラグインが欠落している可能性があります。この問題は、カスタムポリシーのPOMに以下の内容が含まれており、4.4.0で導入された機能「mule.enable.policy.isolation」と組み合わさって発生します。

<dependency>
<groupId>com.mulesoft.anypoint</groupId>
<artifactId>mule-http-policy-transform-extension</artifactId>
<version>${http.policy.transform.extension}</version>
<classifier>mule-plugin</classifier>
<!— HTTP Connector is excluded to avoid packaging it with the policy, since the application's HTTP connector is used-->
<exclusions>
<exclusion>
<groupId>org.mule.connectors</groupId>
<artifactId>mule-http-connector</artifactId>
</exclusion>
</exclusions>
</dependency>

解決策

次のいずれかの回避策を使用できます。

 

  1. mule.enable.policy.isolation プロパティを false に設定します。
  2. pom.xml 内の除外を削除します。

 

ナレッジ記事番号

005036330

 
読み込み中
Salesforce Help | Article