Hi Mike,

Probably an issue in the location of the various classes: can you tell
us the packages that they belong to ?

didier

On Oct 29, 11:23 pm, Mike <mikem2...@gmail.com> wrote:
> I tried changing the line to:
>
> public enum Color implements IsConfigurable, Serializable
>
> and I'm still getting the same compile error.
>
> Thanks!
> Mike
>
> On Oct 29, 3:57 pm, Patrick Tucker <tucker...@gmail.com> wrote:
>
> > The enum itself can implement Serializable
>
> > On Oct 29, 2:41 pm, Mike <mikem2...@gmail.com> wrote:
>
> > > How can I make an enum that implements a marker interface serializable
> > > in GWT 2.0?
>
> > > The below example:
>
> > > public interface IsConfigurable
> > > {
>
> > > }
>
> > > public enum Color implements IsConfigurable
> > > {
> > >     BLUE,
> > >     RED;
>
> > > }
>
> > > Results in the following:
> > >      [java] Compiling module com.colors
> > >      [java]    Validating newly compiled units
> > >      [java]       [ERROR] Errors in 'file:...Color.java'
> > >      [java]          [ERROR] Line 7: The import ...IsConfigurable
> > > cannot be resolved
> > >      [java]          [ERROR] Line 12: IsConfigurable cannot be
> > > resolved to a type
> > >      [java]    Compiling 6 permutations
> > > ...
>
> > > Thanks!
> > > Mike

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to