If you are including external source code (such as in the form of a
Jar file), you will need to include that jar file in your Java
CLASS_PATH and you will also need to edit your .gwt.xml file to
inherit information from the included jar.

The best way to do this is to add $APPDIR/externalcode.jar in the -cp
option in the <YourProject>-shell and <YourProject>-compile scripts.
After this, edit <YourProject>.gwt.xml file and add a line like
this...

<inherits name='com.thapar.gwt.user.ui.SimpleSortableTable>

(this was an example of how to include a SortableTable from
http://psthapar.googlepages.com/simplesortabletable).

On Sep 25, 10:27 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> dhanraj schrieb:
>
> > No source code is available for type java.lang.ClassNotFoundException;
> > did you forget to inherit a required module?
>
> [...]
>
> > Please help me find what is going wrong, as  ClassNotFoundException is
> > part of java.lang package.
>
> The GWT-compiler doesn't cover the complete java.lang-classes.
> The best way is to create your own Exceptions that are derived
> from com.google.gwt.user.client.rpc.SerializableException
>
> Regards, Lothar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to