2016-11-29 9 views
0

전 MuleSoft Any point Studio를 처음 사용했습니다.MuleSoft에서 AMQP Connector를 설치할 수 없습니다. 어떤 지점에서든 Studio

MuleSoft 웹 사이트에서 제공하는 세부 정보를 사용하여 AMQP Connector를 설치하려고합니다.

Link - https://docs.mulesoft.com/mule-user-guide/v/3.7/amqp-connector

pom.xml 파일에 받는다는 지원 ​​설정을 추가하는 동안

은 응용 프로그램이 오류 메시지가 발생합니다.

오류 메시지 : enter image description here

현재 내가 AnypointStudio를 위해 윈 - 64 비트-6.1.2 버전을 사용하고 있습니다. 내가 추가 할 필요가

설정 :

는 AMQP 커넥터를 설치하려면, 당신의 메이븐 설치에 다음 저장소를 추가

<repository> 
 
    <id>mule-releases</id> 
 
    <name>Mule Releases Repository</name> 
 
    <url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url> 
 
    <layout>default</layout> 
 
</repository>

<dependency> 
 
    <groupId>org.mule.transports</groupId> 
 
    <artifactId>mule-transport-amqp</artifactId> 
 
    <version>x.y.z</version> 
 
</dependency>

<inclusions> 
 
    <inclusion> 
 
    <groupId>org.mule.transports</groupId> 
 
    <artifactId>mule-transport-amqp</artifactId> 
 
    </inclusion> 
 
</inclusions>

이 문제에 대한 모든 솔루션?

답변

1

이 질문은 오래되었지만 대답은 '구성'태그 내에 흠도를 추가해야한다는 것입니다. 예 :

<plugin> 
    <groupId>org.mule.tools.maven</groupId> 
    <artifactId>mule-app-maven-plugin</artifactId> 
    <version>${mule.tools.version}</version> 
    <extensions>true</extensions> 
    <configuration> 
     <copyToAppsDirectory>true</copyToAppsDirectory> 
     <inclusions> 
       <inclusion> 
         <groupId>org.mule.transports</groupId> 
         <artifactId>mule-transport-amqp</artifactId> 
       </inclusion> 
     </inclusions> 
    </configuration> 
</plugin> 

이렇게하면 amqp jar가 배포 된 응용 프로그램에 추가됩니다.