MULE 4 IntelliJ, разрешающий схемы xsd - PullRequest
0 голосов
/ 02 октября 2018

Я пытаюсь использовать IntelliJ в качестве IDE вместо Anypoint Studio, потому что он очень плохо работает на Windows.Я скачал плагин, но у меня проблемы с настройкой ссылок на xsd коннекторов, он продолжает жаловаться, что не может найти xsd.

Мул xsd указывает на местоположение через Интернет, котороене существует, я думаю, что он должен быть разрешен в зависимости от pom, но я не знаю, как сообщить об этом в IDE.

Вот пример моего приложения mule (которое отлично работает на AnypointStudio):

<?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

1 Ответ

0 голосов
/ 30 апреля 2019

Вы используете плагин для DataWeave 2.0, он не предназначен для поддержки XML-файлов конфигурации Mule 4

...