MULE 4 IntelliJ解析xsd架构

问题描述 投票:1回答:1

我试图使用IntelliJ作为IDE而不是Anypoint Studio,因为它在Windows上运行非常糟糕。我已经下载了这个插件,但是我在设置连接器的xsd引用时遇到了麻烦,它一直在抱怨它无法找到xsd。

mule xsd指向互联网上不存在的位置,我认为它必须针对pom依赖项解决,但我不知道如何告诉IDE。

这是我的mule应用程序的一个示例(在Anypoint Studio上运行正常):

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:spring="http://www.springframework.org/schema/beans"
    xmlns:email="http://www.mulesoft.org/schema/mule/email"
  xmlns:ftps="http://www.mulesoft.org/schema/mule/ftps"
  xmlns:mongo="http://www.mulesoft.org/schema/mule/mongo"
  xmlns:java="http://www.mulesoft.org/schema/mule/java"
  xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking"
  xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
  xmlns:vm="http://www.mulesoft.org/schema/mule/vm"
  xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core"
  xmlns="http://www.mulesoft.org/schema/mule/core"
  xmlns:apikit="http://www.mulesoft.org/schema/mule/mule-apikit"
  xmlns:http="http://www.mulesoft.org/schema/mule/http"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
  http://www.mulesoft.org/schema/mule/mule-apikit http://www.mulesoft.org/schema/mule/mule-apikit/current/mule-apikit.xsd
  http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/current/mule-vm.xsd
  http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd
  http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ee/core/current/mule-ee.xsd
  http://www.mulesoft.org/schema/mule/java http://www.mulesoft.org/schema/mule/java/current/mule-java.xsd
  http://www.mulesoft.org/schema/mule/mongo http://www.mulesoft.org/schema/mule/mongo/current/mule-mongo.xsd
  http://www.mulesoft.org/schema/mule/ftps http://www.mulesoft.org/schema/mule/ftps/current/mule-ftps.xsd
  http://www.mulesoft.org/schema/mule/email http://www.mulesoft.org/schema/mule/email/current/mule-email.xsd">
<flow name="post:ProcessPayment" doc:id="ccaba1bf-94b0-412c-895d-6bc118b0b878"> ...

这是IntelliJ显示的错误:enter image description here

java maven intellij-idea xsd mule
1个回答
0
投票

您正在使用DataWeave 2.0的插件,它并不意味着支持Mule 4 XML配置文件

© www.soinside.com 2019 - 2024. All rights reserved.