1

I am using GWT 2.5

GXT 2.5.1

App Engine 1.9.0

I am getting this error.

Loading modules
   com.java.operastar.Opera_Star
      Loading inherited module 'com.java.operastar.Opera_Star'
         Loading inherited module 'com.extjs.gxt.ui.GXT'
            [ERROR] Unexpected error while processing XML
java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:884)
    at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
.
.
.
.

Can anybody help to solve this. Screen short

Braj
  • 46,415
  • 5
  • 60
  • 76
GameBuilder
  • 1,169
  • 4
  • 31
  • 62

1 Answers1

1

Most probably the issue is due to version mismatch between GWT and GXT.

Try any one option:

  • try with GWT 2.5.0 and GXT.2.2.1 as shown in screenshot

enter image description here

  • use below inherits in gwt.xml as shown in screenshot also

    <inherits name='com.sencha.gxt.ui.GXT' /> 
    

    instead of

    <inherits name="com.extjs.gxt.ui.GXT" />
    

enter image description here


--EDIT--

Whenever you change the dependencies or GWT version. Just delete the last auto-generated stub as shown in below screenshot and re-compile the project again. A fresh start.

enter image description here

Braj
  • 46,415
  • 5
  • 60
  • 76
  • the combination of 'GWT 2.5.0' and 'GXT 2.2.1' works . But still i see some errors in Console `Infos: Dev App Server is now running [ERROR] Failure in unit cache map load. java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to read from byte cache at java.util.concurrent.FutureTask.report(Unknown Source)` – GameBuilder Apr 26 '14 at 10:22
  • Have a look at my edited post. Just delete the `gwt-unitCache` and other auto-generated stub after changing the GWT version and re-compile the project again. – Braj Apr 26 '14 at 18:56
  • Can you help me with this.. http://stackoverflow.com/questions/23326527/unable-to-load-module-entry-point-in-gwt-gxt-project – GameBuilder Apr 27 '14 at 17:51