无法在mule独立服务器上部署Mule应用程序

时间:2013-09-24 07:14:30

标签: mule

使用Mule Maven插件在Mule独立服务器上部署可部署存档时,我间歇性地收到此错误。

Error : Caused by: org.apache.maven.plugin.MojoExecutionException:
Could not rename C:\mule-standalone\mule-ee-distribution-standalone-3.4.0\mule-enterprise-standalone-3.4.0\apps\**MyProject.zip**.temp
to C:\mule-standalone\mule-ee-distribution-standalone-3.4.0\mule-enterprise-standalone-3.4.0\apps\**MyProject.zip**

我正在使用以下Maven插件:

<plugin>
<groupId>org.mule.tools</groupId>
<artifactId>maven-mule-plugin</artifactId>
<version>1.9</version>
<extensions>true</extensions>
<configuration>
   <copyToAppsDirectory>true</copyToAppsDirectory>
</configuration>
</plugin>

1 个答案:

答案 0 :(得分:0)

当您在mule apps文件夹中打开文件时会发生这种情况。 maven-mule插件无法重命名/删除旧应用程序,因此构建失败。