title: Wildlfy deployment failed
body: <p>I've tried to deploy my application using Wildfly Management Console (wildfly 10.1.0.Final) but unfortunately failed due to the following reason / error :</p>
  
  <blockquote>
    <p>Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"MyApplication.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyApplication.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"MyApplication.war\" Caused by: java.lang.OutOfMemoryError: Metaspace"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"MyApplication.war\".POST_MODULE"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}</p>
  </blockquote>
  
  <p>I used <strong>Replace Deployment</strong> function provided on the console. I've used the same function to upload my <strong>.war</strong> application before this and successfully deployed.</p>
  
  <p>I've tested my application locally and it can be deployed and executed without any errors.</p>