Adding java.io.Serializable to gwt-user.jar

10 views
Skip to first unread message

karlie....@gmail.com

unread,
Sep 5, 2006, 3:37:11 PM9/5/06
to Google Web Toolkit
I'm using JMS technology that requires the use of java.io.Serializable,
so I took the advice from a previous thread:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/992636cabd240bce/b1442ac73670daf9?lnk=gst&q=java.io.Serializable&rnum=1#b1442ac73670daf9

and un-jared the gwt-user.jar, added Serializable.java to
com/google/gwt/emul/java/io/, and re-jared.

This worked great until the new GWT version release. I repeated these
steps for the newer gwt-user.jar, but now I have errors upon running my
web application:

[TRACE] Analyzing source in module 'com.mycompany.app.APP'
[ERROR] Unable to find type 'java.lang.Object'
[ERROR] Hint: Check that your module inherits
'com.google.gwt.core.Core' either directly or indirectly (most often by
inheriting module 'com.google.gwt.user.User')
[ERROR] Failed to complete analysis

I appreciate any advice!

Reply all
Reply to author
Forward
0 new messages