Anypoint studio版本:7.1.2。 低于一个简单项目的错误。你可以告诉我如何解决这个问题。
无法将项目zip文件复制到嵌入式Mule实例。项目:[骡子项目]名称:training-american-ws - 域名:默认 目的地'C:\ Program Files \ AnypointStudio \ plugins \ org.mule.tooling.server.4.1.1.ee_7.1.2.201803261303 \ mule \ app-staging \ training-american-ws.jar'目录无法创建
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
http://maven.apache.org/maven-v4_0_0.xsd“&GT; 4.0.0
<groupId>com.mycompany</groupId>
<artifactId>training-american-ws</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>mule-application</packaging>
<name>training-american-ws</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<app.runtime>4.1.1</app.runtime>
<mule.maven.plugin.version>3.1.1</mule.maven.plugin.version>
<munit.version>2.1.1</munit.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>${mule.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>com.mulesoft.munit.tools</groupId>
<artifactId>munit-maven-plugin</artifactId>
<version>${munit.version}</version>
<executions>
<execution>
<id>test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
<goal>coverage-report</goal>
</goals>
</execution>
</executions>
<configuration>
<coverage>
<runCoverage>true</runCoverage>
<formats>
<format>html</format>
</formats>
</coverage>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.mule.connectors</groupId>
<artifactId>mule-http-connector</artifactId>
<version>1.2.0</version>
<classifier>mule-plugin</classifier>
</dependency>
<dependency>
<groupId>org.mule.connectors</groupId>
<artifactId>mule-sockets-connector</artifactId>
<version>1.1.1</version>
<classifier>mule-plugin</classifier>
</dependency>
<dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-runner</artifactId>
<version>2.1.1</version>
<classifier>mule-plugin</classifier>
<scope>test</scope>
</dependency> <dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-tools</artifactId>
<version>2.1.1</version>
<classifier>mule-plugin</classifier>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>anypoint-exchange</id>
<name>Anypoint Exchange</name>
<url>https://maven.anypoint.mulesoft.com/api/v1/maven</url>
<layout>default</layout>
</repository>
<repository>
<id>mulesoft-releases</id>
<name>MuleSoft Releases Repository</name>
<url>https://repository.mulesoft.org/releases/</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mulesoft-releases</id>
<name>mulesoft release repository</name>
<layout>default</layout>
<url>https://repository.mulesoft.org/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
答案 0 :(得分:0)
您是否在Studio安装目录中拥有写入权限?
答案 1 :(得分:0)
您必须对pom.xml中的域项目具有依赖性。如果问题仍然存在,请以管理员身份重新启动Anyponit Studio。
答案 2 :(得分:0)
如果在Mac OS中遇到此问题,请尝试将AnypointStudio移至“应用程序”并再次运行该项目。它对我有用。
学习愉快!
关于, 西瓦吉