Kept looking at found the answer on this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a332d26c0dbdd3dc/c515490d37efafd4?lnk=gst&q=import+GWT+module#c515490d37efafd4
Apparently the GWT Designer plugin(s) messes up some things. Uninstalling it removed all the errors. On Nov 12, 3:35 pm, John <[email protected]> wrote: > I'm running into the same issue on my own project. If the solution is > generic, please let me know, otherwise I'll post my issue separately. > > The main difference is the error for me is getting thrown when > referencing types from a common library. The ide can find and use and > imports all the classes from the common library. However, every > instance reference to the library is throwing an error: > > "com.example.WidgetX can not be found in source packages. Check the > inheritance chain from your module; it may not be inheriting a > required module or a module may not be adding its source path entries > properly." > > The quick fix is to import the module com.example.Common. This adds > the line: <inherits name='com.example.Common' /> to the Main.gwt.xml > file - which is already present in the file. Even after it "fixes" > it, the error remains, and it will keep adding that inherit line every > time you 'quick fix' it. > > Any help or direction would be much appreciated. > > Thanks, > John > > On Nov 12, 12:07 pm, har_shan <[email protected]> wrote: > > > > > > > > > Hello Sun, > > > Did you get it working? if so, any pointers ? > > > Thanks much > > > On Nov 11, 6:57 pm, Sun <[email protected]> wrote: > > > > i exactly have the same error, before saw this thread i started a new > > > thread. > > > can anybody shed some light on this? > > > > On Nov 8, 2:25 am, har_shan <[email protected]> wrote: > > > > > i just checked out expenses sample project from trunk and seeing > > > > compilation errors in > > > > eclipse:http://google-web-toolkit.googlecode.com/svn/trunk/samples/expenses > > > > > In class Styles, Line 120, 163, 166 etc. > > > > > com.google.gwt.sample.expenses.client.style.Stylescannotbefoundinsourcepack > > > > ages. Check the inheritance chain from yourmodule; it maynotbe > > > > inheriting a requiredmoduleor amodulemaynotbe adding itssourcepath > > > > entries properly. > > > > > 1 quick fix available,ImportGWTmodule > > > > com.google.gwt.sample.expenses.client.style.Style > > > > > Similarly lots of classes in package > > > > com.google.gwt.sample.expenses.shared has compilation errors. > > > > > com.google.gwt.sample.expenses.server.domain.Employeecannotbefound > > > > insourcepackages. Check the inheritance chain from yourmodule; it > > > > maynotbe inheriting a requiredmoduleor amodulemaynotbe adding > > > > itssourcepath entries properly. > > > > ============ > > > > My env: > > > > > Eclipse Helios with latest GPE 1.4 which correctly (automatically) > > > > configuredGWT2.1 and GAE 1.3.7 (to SDKs that are there in local > > > > repo) as specified in expenses POM. > > > > > Am i missing sth? -- 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.
