Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>If I create a web project using eclipse then eclipse will let be deploy and debug application on an already installed glassfish application server. However, if I have created a web project using maven archetype, eclipse does not let me debug the application.</p> </blockquote> <p>This is not true. Whether you use the <a href="http://maven.apache.org/plugins/maven-eclipse-plugin/" rel="nofollow">Maven Eclipse Plugin</a> (which provides <a href="http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html" rel="nofollow">WTP support</a>) <strong>or</strong> m2eclipse (with the optional <em>Maven Integration for WTP</em> installed from the <a href="http://m2eclipse.sonatype.org/installing-m2eclipse.html" rel="nofollow">m2eclipse Extras</a>), you can deploy a project created outside Eclipse to an existing "<strong>Server</strong>" (that you can start in <strong>Debug</strong> mode), as long as you imported it appropriately (<strong>Import... > Existing Project into Workspace</strong> if you use the former, <strong>Import... > Maven Projects</strong> if you use the later).</p> <blockquote> <p>Basically I have followings 1) Web application created using maven archetype 2) Eclipse IDE 3) Glassfish which is already installed outside of Eclipse IDE</p> </blockquote> <p>I use the same setup with several projects with no problem (and can debug them on my locally installed GlassFish server). </p> <blockquote> <p>I came across maven's glassfish plugin but as far as I understood it is not for debugging the application.</p> </blockquote> <p>There is no need for extra Maven plugins, you can just rely on your IDE if you follow the right steps.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload