Results 1 to 6 of 6

Thread: GXT 2.3.1 and GWT 2.5

  1. #1
    Ext GWT Premium Member
    Join Date
    Jun 2008
    Location
    Poland
    Posts
    306

    Question GXT 2.3.1 and GWT 2.5

    Hi,

    I'm preparing to move to GXT 3. First step is upgrading GWT version to 2.5.1. Everything works fine in dev mode and it's compiling also fine, but when I try to run my webapp I get the following exception:

    java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge
    at com.extjs.gxt.ui.client.core.FastMap.<init>(FastMap.java:139)
    at com.extjs.gxt.ui.client.data.RpcMap.<init>(RpcMap.java:69)
    at com.extjs.gxt.ui.client.data.BaseModelData.set(BaseModelData.java:125)

    Does it mean I need to add this huge gwt-user.jar file into my classpath?

    Thanks,
    Mariusz

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    Without knowing too many details, i guess this exception is thrown on your server. This means its probably this issue: http://www.sencha.com/forum/showthre...=1#post1015936

  3. #3
    Ext GWT Premium Member
    Join Date
    Jun 2008
    Location
    Poland
    Posts
    306

    Default

    OK, thank you. BTW, it was nice meeting you Sven

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    Was nice to meet you too

  5. #5
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,178

    Default

    From what I remember the GWTBride had been moved to another jar. I see it in gwt-dev in one of the versions and also have found it in the request factory jar.

    https://code.google.com/p/google-web...detail?id=7527

    Brandon

  6. #6
    Ext GWT Premium Member
    Join Date
    Jun 2008
    Location
    Poland
    Posts
    306

    Default

    Issue occurs because GXT 2 still references the old GWTBridge location (pre GWT 2.5) due to compatibility issues. The workaround is easy though, just create a GWTBridge class in old location that extends the new class location:

    Code:
    package com.google.gwt.core.client;
    
    public abstract class GWTBridge extends com.google.gwt.core.shared.GWTBridge {
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •