rsoto schrieb:
> Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create
> () is only usable in client code! It cannot be called, for example,
> from server code.
> public static void main(String args[]){
> DirectionQueryOptions opts = new DirectionQueryOptions();
main is a method called from the console (i.e. "server"). You can't
call GWT.create in server-code so whatever you think you can achieve
by initializing DirectionQueryOptions on the server-side it will
never happen.
The question is, what you want to achieve to be able to tell you,
what you might do differently.
BTW: Instead of shouting and the excessive use of exclamation marks,
you might think of a more describing subject in the future.
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---