title: ClassNotFoundException: com.google.gwt.json.client.JSONObject
body: <p>I have an app that use GWT version 2.8.0-beta1 and run it through <code>mvn gwt:run</code></p>
  
  <p>The problem is that it throws this error:</p>
  
  <pre><code>[INFO] Caused by: java.lang.NoClassDefFoundError: com/google/gwt/json/client/JSONObject
  [INFO]  at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.8.0_92]
  [INFO]  at java.lang.ClassLoader.defineClass(ClassLoader.java:763) [rt.jar:1.8.0_92]
  [INFO]  at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  ... 19 more
  [INFO] Caused by: java.lang.ClassNotFoundException: com.google.gwt.json.client.JSONObject from [Module "deployment.app.war:main" from Service Module Loader]
  [INFO]  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
  [INFO]  ... 23 more
  </code></pre>
  
  <p>Even there's the <code>&lt;inherits name='com.google.gwt.json.JSON'/&gt;</code> in the <code>gwt.xml</code> file of the app. </p>
  
  <p>What is the root cause of <code>ClassNotFoundException: com.google.gwt.json.client.JSONObject</code>? How can this be fixed?</p>