I have a jsf project with ME2017 on wildfly 10.1. Sometimes, seems random, I’ll try to redeploy and get a popup with a failure. This is in the error log and poup:
Could not publish to the server.
There were issues during deployment to server WildFly v10.x at localhost. See Error Log for details.
Cannot delete C:\aa\wildfly-10.1.0.Final\standalone\deployments\aa.war directory.
Deployment failed
Cannot create directory C:\aa\wildfly-10.1.0.Final\standalone\deployments\aa.war\META-INF.
Cannot create directory C:\aa\wildfly-10.1.0.Final\standalone\deployments\aa.war\META-INF.
Cannot create directory C:\aa\wildfly-10.1.0.Final\standalone\deployments\aa.war\META-INF.
the error log shows An exception stack trace is not available.
If I go look in that folder, I’ll see that with windows explorer I can’t even navigate into the meta-inf folder. I get permission denied.
ME is all running as me and I am an admin on my win7 laptop. Something in the deployment is changing the permissions and looks like causing this problem.
Sometimes it will work fine to redeploy a few times. Then it does this and I have to stop, undeploy, then remove the entire folder from the standalone deployments and start again.
Is this a bug or anyone know how to make it work?
Thank you!