Reputation: 153
I am trying to run my project using maven to package into WAR file' but I am getting this error Unable to copy project zip file to the embedded Mule instance. Project: [Mule Project] Name: test - Domain: default Source '/home/AnypointStudio/workspace/test/target/test-1.0.0-SNAPSHOT.zip' does not exist
, How to fix?
Upvotes: 1
Views: 1785
Reputation: 663
I was experiencing a similar issue. Check the target directory and see if an output file is generated(i.e jar, war, etc.) If a file is there then the output file is being generated properly. Open the pom.xml file for the project and change the element inside the packaging tag of the project to mule.
i.e <packaging>jar</packaging> --> <packaging>mule</packaging>
Upvotes: 0
Reputation: 25837
Studio's Maven plugin doesn't support WAR format as output. Try with command line Maven or m2e Eclipse plugin.
Upvotes: 1