Ok,

So I initialized the request factory with a SimpleEventBus and I got 
further.  I then got the NoClassDefFoundError on 
javax.validation.Validation.   Woohoo!  I never cheered so much for a 
different error.  I remembered this had to do with JSR-303 and after some 
searching I found that this and the JSON stuff are included in 
gwt-servlet-deps.jar (included with the SDK).

NOTE:  This should be spelled out in GINORMOUS letters somewhere on this 
page:  
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html  
 Alas, it's not.  :(

Once I included the Dept, I realized that I didn't have the path set right 
for the RequestFactoryServlet...GWT actually threw a nice error here and I 
was able to set it properly.

Fortunately, I read Thomas Broyer's 
post<http://tbroyer.posterous.com/gwt-211-requestfactory> and 
was able to catch a few of these things.

These simple steps should be spelled out somewhere.


I was tempted to go down the Maven (gwt-maven-plugin, etc.) route, but the 
integration between that and the Eclipse plugin is not stable enough for 
someone who is trying to get something up and running quickly.  I ran into a 
variety of problems:   not being able to find the 2.3.0-SNAPSHOT for the 
plugin, the archetype with 2.2.0 didn't generate a project that compiled -- 
it had __module__ listed in a bunch of the class names -- no doubt a 
substitution wasn't being handled properly.   All in all, a painful 
experience.   And I like Maven.  For someone that doesn't like it, it 
probably wouldn't be as much of a major time sync -- foolish me I thought I 
could whip it -- others would have just given up.  Not a fun time.


-- 
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.

Reply via email to