Saturday, December 22, 2012

Re: Still problems with com.google.gwt.core.client.GWTBridge

Hi,

I had the same problem..

the com/google/gwt/core/client/GWTBridge is inside the dev.jar and adding this jar on the server side will fix the problem..*its a 30mb jar I dont recommend this)
or u can just take this class and add it to the servlet.jar ...

The class is just un extension of the shared GWTBridge class ...


what actually is cossing the problem is that GWT.class uses com/google/gwt/core/client/GWTBridge inside 

 static void setBridge(GWTBridge bridge) {
    sGWTBridge = bridge;
    if (bridge != null) {
      setUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
    }

sGWTBridge in this class is not having un import inside meaning its seeing the class from the same package..


if on a server side u use this class(its used for a dual implementation) where u check something like

GWT.isClient()

or 

GWT.isProdMod

rhis will always trow the class not found exp...


Hope this helps..

B


Am Samstag, 22. Dezember 2012 14:56:30 UTC+1 schrieb Ara Yapejian:
Thank you I'll take a look...

On Friday, December 21, 2012 10:43:42 PM UTC-5, Thomas Broyer wrote:


On Friday, December 21, 2012 6:40:24 PM UTC+1, Ara Yapejian wrote:
I'm also seeing this, has their been any updates or anyone know of a fix?

Please refer to the issue linked in the first post in this thread.
 
This happened trying to upgrade my jars to gwt 2.5

We'll release 2.5.1 soon that'll fix it. 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vyvxNnu5i10J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment