Using Anypoint Studio 7.23 (Mule 4.10) on Windows 11, hot redeploy fails every time I save XML while the app is running.
Studio shows:
Project redeployment has been aborted due to an error
Root error:
java.nio.file.FileSystemException: ...jar: The process cannot access the file because it is being used by another process
This happens while copying files into:
<Studio>/plugins/org.mule.tooling.server.../mule/apps/<app>/repository/
What I tried:
Workspace and Studio moved outside user folder
Clean project, delete target + deployed app folder
Restarted Studio and PC
Result:
App runs, but any save → redeploy fails → must stop/run manually.
Has anyone faced this file-lock issue on Windows or found a fix?
#MuleSoft Anypoint Studio
Hello,
One option to disable auto Build from Anypoint from Workspace , just search workspace and uncheck it
Another:
- Try to run Studio with Admin Mode
- Disable Antivirus
- Add Exclusion for folder location for Anypoint Installation and Workspace directory or Runtime Path in Windows defender
Thanks,
Manish Kumar Yadav
Trailblazer Community Forum Ambassadors