GWTBridge Not Found in GWT2.5

Just updat­ed the GWT SDK and end­ed up with a bro­ken app:

java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(

After some searching/experimenting and a cup of cof­fee it final­ly occurred to me: the pack­age name says client! So all the time I have been using a client-pack­age class in my server-side code. Kin­da sur­pris­ing that it did work nice­ly all the while.

Solu­tion: replace all with in shared and server-side code.

One Reply to “GWTBridge Not Found in GWT2.5”

Leave a Reply

Your email address will not be published. Required fields are marked *