title: deploying gwt web application on jetty
body: <p>Hi I am deploying my web application created in Gwt on the jetty.
  I have used mongodb as my database.After starting the server it starts deploying the weapp.war
  and gives following error -</p>
  
  <pre><code>694 [main] INFO org.mortbay.log - Extract /usr/share/jetty/webapps/myapp.war to /tmp/Jetty_0_0_0_0_8090_myapp.war__myapp__n6yltk/webapp
  3567 [main] WARN org.mortbay.log - failed Startup: java.lang.LinkageError: loader constraint violation: loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) previously initiated loading for a different type with name "javax/management/MBeanServer"
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:392)
      at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
      at com.mongodb.DBPortPool$Holder.get(DBPortPool.java:58)
      at com.mongodb.DBTCPConnector._set(DBTCPConnector.java:458)
      at com.mongodb.DBTCPConnector.&lt;init&gt;(DBTCPConnector.java:46)
      at com.mongodb.Mongo.&lt;init&gt;(Mongo.java:137)
      at com.mongodb.Mongo.&lt;init&gt;(Mongo.java:123)
  </code></pre>