title: Debuging issue with maven, jetty and IDEA
body: <p>I have problem with running jetty in debug and attaching IntelliJ IDEA to listening port.</p>
  
  <p><code>mvnDebug jetty:run-exploded</code></p>
  
  <p>will start jetty as I can see following message</p>
  
  <blockquote>
    <p>Preparing to Execute Maven in Debug
    Mode Listening for transport dt_socket
    at address: 8000</p>
  </blockquote>
  
  <p>However when I try to to connect IDEA to port 8000 I will get message in IDE saying connected and immediately followed by disconnected. Where jetty will kick following error</p>
  
  <blockquote>
    <p>Exception in thread "main"
    java.lang.NoClassDefFoundError:
    org/codehaus/classworlds/Launcher
    Caused by:
    java.lang.ClassNotFoundException:
    org.codehaus.classworlds.Launcher     at
    java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at
    java.security.AccessController.doPrivileged(Native
    Method)   at
    java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at
    java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at
    java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at
    java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class:
    org.codehaus.classworlds.Launcher. 
    Program will exit.</p>
  </blockquote>
  
  <p>I'm little confused by this as there is no problem in running project under jetty with</p>
  
  <p><code>mvn jetty:run-exploded</code></p>
  
  <p>also my colleague have no problem with debugging under IDEA, only difference between his and my setup is that I have 64bit machine and he is on 32bit</p>