Configuring a WAR project in Eclipse & Setting up Jetty to Run/Debug

17 Apr 2009

SC London
The place where passionate Software Craftspeople, Community, Experts & Thought Leaders come together
Book your ticket now!

Generate eclipse project: mvn eclipse:eclipse Import the project into eclipse

In Eclipse - Create a new Run/Debug config - Set main class toorg.codehaus.classworlds.Launcher

Go to the argument tab: - Set Program arguments to jetty:run - Set VM arguments to -Xmx512M -Dclassworlds.conf=${M2_HOME}/bin/m2.conf -Dmaven.home=${M2_HOME}

Go to the classpath tab: - Remove the application from the user entries - Add the ${M2_HOME}/boot/classworlds-1.1.jar to the user entries

Go to the source tab:

Related Blogs

Get content like this straight to your inbox!

Codurance Logo

Software is our passion.

We are software craftspeople. We build well-crafted software for our clients, we help developers to get better at their craft through training, coaching and mentoring, and we help companies get better at delivering software.

Latest Blogs




Contact Us

3 Sutton Lane
London EC1M 5PU

Phone: +44 207 4902967

2 Mount Street
Manchester M2 5WQ

Phone: +44 161 302 6795

Carrer de Pallars, 99
08018, Barcelona

Phone: +34 937 82 28 82

Email: hello@codurance.com