I am facing one error while running my GWT application.
Line 62: No source code is available for type com.abc.PQR; did you forget to inherit a required module?
Note: PQR is a class present in another project/directory. I have added that project's jar to my build path so didn't get any compilation error in eclipse. But seems like jetty deployment not working. I am using google plugin for eclipse to develope this application. Both the projects are under same folder.
I added the project as reference project to my project but no luck.
If you don't have access to the Java project/jar file, or don't want to explicitly link it to GWT, you can include the gwt.xml file in the same package within your GWT project rather than within the other project.
Everything is theoretically impossible, until it is done. ~Robert A. Heinlein
posted 7 years ago
Thanks for the link. Its working now. Also I forgot to add the dependency jars in the war/web-inf/lib folder.