Failing to deploy local JEE examples through Netbeans to Glassfish

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Failing to deploy local JEE examples through Netbeans to Glassfish

deglans
I'm try to learn Java EE, I have followed the official guide at: https://javaee.github.io/tutorial/webapp003.html but the example don't work...
I think the problem is the communication between NetBeans and GlassFish, because if I deploy manually the war file it's work.
The output of NetBeans is this:


Code:

--- cargo-maven2-plugin:1.4.4:redeploy (deploy) @ hello1 ---
[DeployerRedeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-glassfish:jar:1.4.4 for container glassfish
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.217s
Finished at: Wed Oct 11 18:03:18 CEST 2017
Final Memory: 13M/173M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:redeploy (deploy) on project hello1: Execution deploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:redeploy failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [glassfish], type = [installed]], configuration type [existing]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [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




I have tried to follow this https://netbeans.org/bugzilla/show_bug.cgi?id=247746 but it's doesn't work...[/code]




Reply | Threaded
Open this post in threaded view
|

Failing to deploy local JEE examples through Netbeans to Glassfish

deglans