java - Error inheriting a module in a mavenized GWT project -


after adding dependency in pom.xml:

<dependency>    <groupid>com.eaio.uuid</groupid>    <artifactid>uuid</artifactid>    <version>3.2</version> </dependency> 

i error jetty on module load event:

no source code available com.eaio.uuid; did forget inherit module? unable find com.client.myproject..`

what missing?

if you're using of classes in artifact in gwt compiled code, source code needs available, either packaged in jar or source jar (remember that's dependency).

you'll have .gwt.xml file in jar, name need inherit in own gwt descriptor, eg. if file called com/eaio/uuid.gwt.xml should

... <inherits name="com.eaio.uuid" /> ... 

if 1 isn't available, create own simple <source path="..." /> , stick in right package in own project (still provided source is available!)

cheers,


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -