the corner office : tech blog

a tech blog, by Colin Pretorius

« Links 2014.05.31 | Main | QOTD 2014.06.20 »

Eclipse debugging with jetty-maven-plugin

Based initially on this page, this is what I do to debug web apps in Eclipse when using the jetty-maven-plugin.

  • create a new Run Configuration

  • main class: org.codehaus.classworlds.Launcher

  • program args: jetty:run

  • VM args:

    ... where I've set up M2_HOME in the list of variables available in the Arguments tab of the run config.
  • In the Classpath tab, Add plexus-classworlds-2.4.jar from the boot/ subdirectory of your maven app dir.


{2014.06.02 - 21:06}


main blog


rssfeed posts

© Colin Pretorius