Once you move classes to the server package, the remaining client side code cannot reference it any way. Its like javascript trying to reference java code.
In your case, the class org.lakesidecdc.outreach.server.Project is being imported/referenced from your client code. So, you either keep Project class in the client package, or you refactor your code so that it doesn't use Project on the client. --Sri 2009/11/21 etsauer <[email protected]> > I have an application that I built completely in the client side and > therefore all classes exist in the "client" package of my app. > However, now that I would like to persist some of my data, I have > moved the necessary classes in the "server" package. I moved the > classes using the eclipse refactoring tool and verified that all files > now refer to the class using the correct package. > > When I reload my app in hosted mode, I get numerous errors like this > one below: > > [ERROR] Errors in 'file:/C:/Users/Eric/Documents/workspace/ > LakesideOutreachManager/src/org/lakesidecdc/outreach/client/ > ProjectDetail.java' > [ERROR] Line 20: No source code is available for type > org.lakesidecdc.outreach.server.Project; did you forget to inherit a > required module? > > Can someone tell me what else could be wrong? Again, I have verified > that my import statements are pointing to the right place. > > -- > > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=. > > > -- 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=.
