eclipse - No source code is available for type <xyz>; did you forget to inherit a required module? -
i'm trying add dependency gwt project. problem getting following error:
[info] --- gwt-maven-plugin:1.0-beta-2:codeserver (default-cli) @ mahlzeit-web --- [info] turning off precompile in incremental mode. [info] super dev mode starting [info] workdir: e:\java\mahlzeit-web\mahlzeit-web\target\gwt\codeserver [info] loading java files in com.mahlzeit.web.app. [info] tracing compile failure path type 'com.mahlzeit.web.googlecalendarpanel' [info] [error] errors in 'file:/e:/java/mahlzeit-web/mahlzeit-web/mahlzeit-web-client/src/main/java/com/mahlzeit/web/googlecalendarpanel.java' [info] [error] line 54: no source code available type com.bradrydzewski.gwt.calendar.client.calendar; did forget inherit required module? [info] [error] line 161: no source code available type com.bradrydzewski.gwt.calendar.client.event.deletehandler<t>; did forget inherit required module? [info] [error] line 162: no source code available type com.bradrydzewski.gwt.calendar.client.event.deleteevent<t>; did forget inherit required module?
i know have add <source ...>
app.gwt.xml
file generated. using gwt-maven-archetypes in eclipse.
how can add dependency s.t. gwt compiler finds sources in library .jar
file?
you need add appropriate <inherits/>
src/main/module.gwt.xml
.
the plugin generate inherits jars contain meta-inf/gwt/mainmodule
(if that's mean "that generated"), i.e. none of them.
Comments
Post a Comment