I get the following stack trace when trying to test an RPC as per the
instructions at pages such as 
http://code.google.com/webtoolkit/articles/testing_methodologies_using_gwt.html

.http://localhost:1659/com.webucator.gwt.filmlist.FilmList.JUnit/
getfilms
The development shell servlet received a request for 'getfilms' in
module 'com.xyz.gwt.filmlist.FilmList.JUnit.gwt
.xml'
   [WARN] Resource not found: getfilms; (could a file be missing from
the public path or a <servlet> tag misconfigured i
n module com.xyz.gwt.filmlist.FilmList.JUnit.gwt.xml ?)
On Error : Cannot find resource 'getfilms' in the public path of
module 'com.xyz.gwt.filmlist.FilmList.JUnit'

I have the servlet configured in web.xml, and use the annotation on
the service interface.  I've gotten the same result using the old
approach of defining the endpoint in my code (as in
GWT.getModuleBaseURL() + "getfilms").

Both yield the same result, that there is an extra level "JUnit"
inserted into the base URL.  I don't have a file called
com.xyz.gwt.filmlist.FilmList.JUnit.gwt.xml, but I do have
com.xyz.gwt.filmlist.FilmList.gwt.xml

If I put a servlet tag in my module gwt.xml file, then things work,
but why back up from a presumably improved structure just to be able
to run tests?

Is there some way to do this without the servlet tag in the gwt.xml
file?

--

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


Reply via email to