Wednesday, 25 January 2012

Spring Roo & GWT - Missing dependency: com.googlecode.gwt.inject:gin:jar:1.5

It's always annoying when the "Hello World" example that is supposed to sell a new tool to you fails - at build time! Thankfully this one's an easy fix thanks to a solution posted to the springsource forums:

If you open pom.xml, and search for:  <artifactId>gin</artifactId>
which will take you to the gin dependency definition.

Now, if you change the groupId from:
<groupId>com.googlecode.gwt.inject</groupId>

to this:
<groupId>com.google.gwt.inject</groupId>

and change the version from:
<version>1.5</version>

to this:
<version>1.5.0</version>

That should fix it.


No comments:

Post a Comment