Tuesday, December 21, 2010

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

Classes referenced from annotations have to be compiled for GWT to be able to process them from within generators (as is the case for @WithTokenizers on a PlaceHistoryMapper). GWT can work from *.java files only for everything else (AFAICT) but classes referenced from annotations.

So, you just have to javac all your *.java to *.class (actually, only the HellowPlace and GoodbyePlace here, but by compiling everything you're sure you don't miss anything when you add a class or change an annotation's value) and put them in the classpath for Compile.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate