An Error occurred while cleaning the deployment directory

0
Hi,   I am trying to deploy my application but keep running into an error "An Error occurred while cleaning the deployment directory". The dialog box does not display any error message, nor do the logs state anything. Was looking at some older blogs which state that this could be an issue with either the jvm or the gradle instance being used. But I have validated that a supported version of jdk as well as gradle is being used (same was working fine a couple of months back).   Can anyone please help me with this?   Regards
asked
2 answers
0

Clean the Deployment directory or else you can delete deployment folder manually.

 

image.png

answered
0

Hi Sumit,

Please check while doing clean deployment directory, any of your application file or any folder is open. Just for reference consider this example as any excel file is open, from resources folder.

 

Another way is to, delete your deployment folder.

answered