java.lang.IllegalArgumentException: Parameter 'directory' is not a directory

aurelius picture aurelius · Sep 23, 2015 · Viewed 10.5k times · Source

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 to /reg-server-1.0.0-SNAPSHOT/v1/lineage: org.jboss.resteasy.spi.Unhandled
Exception: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory 

Answer

charitha amarasinghe picture charitha amarasinghe · Oct 29, 2020

./gradlew assembleDebug --rerun-tasks

This command run in the command prompt will work if you are trying to connect multiple code bases using settings.gradle and get this error.