GWTBridge Not Found in GWT2.5

Just updated the GWT SDK and ended up with a broken 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 coffee it finally occurred to me: the package name says client! So all the time I have been using a client-package class in my server-side code. Kinda surprising that it did work nicely all the while.

Solution: 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 *