Nicolas, The first this I can think of is in your module definition you have not included the path
<source path = "server"/> Your UserServiceImpl is defined in your server package but you don't have that included in the module. Try adding that. Regards Ashwin On Mon, Jun 27, 2011 at 12:12 PM, Zgouingo <[email protected]> wrote: > Well, I still have my problem. I spent quite a lot of time on this. I > can't understand why it's impossible to compile. If anyone has an > idea, I would thank him/her for eternity +15 days. > Thanks a lot. > Nicolas > > > > On 17 juin, 13:17, Zgouingo <[email protected]> wrote: > > Hello everyone, > > > > I know there has already been some subjects about this kind of error, > > but this time I honnestly can't understand what's happening. > > Let me introduce my project : > > I'm just beginning in the world of GWT. > > I followed some tutorials, and I try to do a RPC exchange in my > > project. > > I succeeded in adapting the RPC model into the StockWatcher example > > project, but in my personnal project, it won't work. > > > > I get this message : > > "No source code is available for type > > com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to > > inherit a required module?" on the following line of my server > > implementation of the RPC system : > > public class UserInfoServiceImpl extends RemoteServiceServlet > > implements UserInfoService { > > > > As you can see, the ServiceImpl class extends RemoteServiceServlet, > > and he seems to be unable to find the source. > > > > Here is my gwt.xml : > > > > <module> > > <source path="client"/> > > <source path="Internationalization"/> > > <inherits name="com.google.gwt.user.User"/> > > <inherits name="com.google.gwt.user.theme.standard.Standard"/> > > <inherits name="com.msa.logoexpress.Internationalization"/> > > <entry-point class="com.msa.logoexpress.client.LoginManager"/> > > <extend-property name="locale" values="de"/> > > <extend-property name="locale" values="fr"/> > > <servlet path="/UserInfoService" > > class="com.msa.logoexpress.server.UserInfoServiceImpl"/> > > </module> > > > > I tried with and without the <servlet...> line, and it does the > > same.The same architecture worked for the stockwatcher project, and > > there I have no idea of what's wrong. > > > > What could be the problem ? Any idea ? > > Thank you very much > > Nicolas > > -- > 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. > > -- 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.
