Groups
Groups
Sign in
Groups
Groups
GWT Users
Conversations
About
Send feedback
Help
Syntax error, insert "enum Identifier" to complete EnumHeaderName when using ClientBundle
4,886 views
Skip to first unread message
David E.
unread,
Mar 17, 2011, 1:10:53 PM
3/17/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
I'm trying to use ClientBundle and I'm getting the following two
errors in Eclipse with the following class.
What am I doing wrong?
Thanks,
David
Syntax error, insert "enum Identifier" to complete EnumHeaderName
ImageResources.java FormsUI_v2/src/com/dve/client/imagebundle line 9
Java Problem
Syntax error, insert "EnumBody" to complete EnumDeclaration
ImageResources.java FormsUI_v2/src/com/dve/client/imagebundle line 9
Java Problem
************************************************************************************************************************
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
interface ImageResources extends ClientBundle {
@Source("images/GIF/tree/blank.gif");
ImageResource blank();
}
David E.
unread,
Mar 17, 2011, 1:15:50 PM
3/17/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Got it,
1. delete the semicolon at the end of @Source
2. make sure image is on classpath
Thanks,
Reply all
Reply to author
Forward
0 new messages