java.lang.NoClassDefFoundError

com/google/gwt/json/client/JSONObject

Samebug tips1

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web9962

  • com/google/gwt/json/client/JSONObject
  • via Google Groups by Ber, 1 year ago
    com/google/gwt/json/client/JSONValue
  • com/google/gwt/json/client/JSONValue
  • Stack trace

    • java.lang.NoClassDefFoundError: com/google/gwt/json/client/JSONObject at java.lang.ClassLoader.defineClass1(Native Method)[rt.jar:1.8.0_92] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)[rt.jar:1.8.0_92] at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] Caused by: java.lang.ClassNotFoundException: com.google.gwt.json.client.JSONObject from [Module "deployment.app.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)[jboss-modules-1.3.3.Final.jar:1.3.3.Final] ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    97 times, 9 months ago
    8 times, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    81 more bugmates