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: