Hey Guys, I'm having some trouble with my GWT project. I'm getting some weird errors and I think it's related to either my project setup, my gwt.xml files or something of that nature. I'm running in hosted mode with the embedded Tomcat.
Basically, I'm getting a couple of weird errors. First off, when I'm trying to set my path for my servlet (defined plainly in web.xml as <url-pattern>/LoginService</url-pattern>) I can't find it using either GWT.getHostPageBaseURL () or GWT.getModuleBaseURL(). I think it is because both paths resolve to: http://localhost:8888/com.teledini.app.Application/ . In the past, I thought that one call would give me: http://localhost:8888/ . I worked around this problem by statically setting the path, but that's suboptimal, as I ALWAYS forget to change it when I deploy :-). The second problem, I believe, is symptomatic of the first. I get "The serialization policy file '/com.teledini.app.Application/ 15CBC2E263CDF186FC35F31569112349.gwt.rpc' was not found; did you forget to include it in this deployment?" when attempting to Serialize my RemoteServiceServlet return. In my compiled output, the file is there and is correctly named, but it can't seem to find it. I believe that this is causing me the dreaded "This application is out of date, please refresh your browser" error when deployed. My project has several modules with dependency, but I have other projects that are similarly structured without problems. Am I just making a stupid mistake or what else can I check? I'm a little stuck with my application as is and really appreciate some advice. Thanks! Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
