PDA

View Full Version : Did you forget to inherit a required module



OhioHouse
15 Sep 2008, 9:27 AM
I am convinced that this is due to me being new to Eclipse, Java programing, etc.

So I have a GWT sample working just fine, typical hello world stuff.
I then decide that I would like to add a form from the following;
http://www.extjs.com/explorer/#formpanel (http://www.extjs.com/explorer/#formpanel)
mine looks like
publicclass LoginCompositeWidget extends LayoutContainer
{ ... same source as in the formpanel example.
}
I copy the source code exactly and eclipse says I have to errors.
I have imported all the right stuff, etc.
I have gxt.jar referenced as an external JAR.
I can't even do a new from my already working
LoginManager::onModuleLoad()

LoginCompositeWidget lcw = new LoginCompositeWidget();

I get these
[ERROR] Line 26: No source code is available for type com.extjs.gxt.ui.client.widget.LayoutContainer; did you forget to inherit a required module?

I am hoping that this is a newbie thing.

darrellmeyer
15 Sep 2008, 9:53 AM
The gxj.jar needs to be on both you project and launch config classpath. Have you added the gxt.jar to the launch config classpath?

azuniga
3 Mar 2011, 1:06 PM
What do you mean by adding the jar to the launch config classpath? How do I do that? I'm getting a similar error when I call BIRT code in my GWT app.
No source code is available for type org.eclipse.birt.report.engine.api.EngineException; did you forget to inherit a required module?

micgala
10 Mar 2011, 3:34 AM
What do you mean by adding the jar to the launch config classpath? How do I do that? I'm getting a similar error when I call BIRT code in my GWT app.
No source code is available for type org.eclipse.birt.report.engine.api.EngineException; did you forget to inherit a required module?

Well, it seems like you need to invest more time on basic GWT.
You cannot use 3rd party libraries that are not GWT ready...