Skip to content
Advertisement

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

Advertisement

Answer

It seems that at deploy time, the application is looking for a directory which has not been generated at package time thus the problem. When created in the target/lib then the deployment runs ok.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement