Rishi, This is a fairly frequent topic on this forum. I'm sure you would turn up a number of relevant threads by searching for "No source code is available for type." Here is one such thread that might help you:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8777393d88e0a096 In a nutshell, every class you compile to JavaScript has to be included in a module. There are any number of ways to achieve that end. Have a read over some of the past discussions, try a few options, and let us know if you have any further questions. - Isaac On Thu, Sep 25, 2008 at 6:38 AM, Rishi <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I am very new to using GWT. I have a query. I have two projects in my > eclipse workspace. One say 'Java' is pure Java project and other say > 'GWT' is a GWT project. > > Now in my GWT project I wish to call some methods of classes in my > Java Project .And every time I try to use any of the Java Project's > methods I get error something like : > > [ERROR] Line 30: No source code is available for type > com.project.campaign.Campaign; did you forget to inherit a required > module? > > I know that the error message asks me to provide the source code of > the Campaign class which I am trying to use in my GWT project. Can any > one tell how can i get rid of this error. > > Basically what I am trying to build is a GWT based application by > which I can test my Java application code to verify it works fine . > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
