I have an EAR application, built with Maven. there is an EJB and a WAR module inside.
I can deploy my EAR using the glassifh console, but I can('t do it from IntelliJ using a Glassfish configuration.
The message is :
Error copying '/Users/Nicolas/Documents/GitProjects/docdoku-plm/docdoku-server/docdoku-server-web/target/docdoku-server-web/apps/lib/javaee.jar' to '/Users/Nicolas/Documents/GitProjects/docdoku-plm/docdoku-server/docdoku-server-ear/target/docdoku-server-ear/docdoku-server-web.war/apps/lib/javaee.jar'.: /Users/Nicolas/Documents/GitProjects/docdoku-plm/docdoku-server/docdoku-server-ear/target/docdoku-server-ear/docdoku-server-web.war/apps/lib/javaee.jar (Not a directory)
This error is displayed for every jar in the WEB-INF/lib
It looks like intelliJ is trying to copy into the docdoku-server-web.war package, wich is obviously not a directory
Do you have any idea ?