This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:deployer-deploy (default-cli) on project hello1: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:deployer-deploy failed: Failed to create deployer with implementation class org.codehaus.cargo.container.glassfish.GlassFish4xInstalledLocalDeployer for the parameters (container [id = [glassfish4x]], deployer type [installed]). InvocationTargetException: The container configuration directory "c://glassfish4/glassfish/domains" does not exist. Please configure the container before attempting to perform any local deployment. Read more on: http://cargo.codehaus.org/Local+Configuration -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Please provide a steps to reproduce not just process output.
I encountered similar error, the solution is very simple You need to edit the pom.xml file as follows. Replace line 38: <glassfish.home>${glassfish.home.prefix}/glassfish4</glassfish.home> to your GlassFish home, I run GlassFish 4.1.1 installed in C:\ drive. So my modification is: <glassfish.home>${glassfish.home.prefix}glassfish-4.1.1</glassfish.home>. Please note the slash before glassfish was removed too. The slash after c: in line 51 suffice. Build it again. Should be fine.