In my case, I had two "deplyments" inside the "deployments" tag of two different projects in standalone.xml. I deleted one and kept the one I was interested in and it worked again.