java.lang.IllegalArgumentException: Parameter ‘directory’ is not a directory

I am trying to deploy a maven web application on my local wildfly machine. But I am getting this error: 08:55:02,595 ERROR [io.undertow.request] (default task-55) UT005023: Exception handling request …