After upgrading to Grails 2.3.5, I've had an issue with the grails gwt plugin when running my application. I get an unresolved dependency for javax.validation-api.
I solved this by changing the plugin _GwtInternal.groovy file. I changed the addGwtCoreToDependencies() function to update the version of the validation-api that is added to the dependencies.
def addGwtCoreToDependencies(String version) {
gwtResolvedDependencies.addAll(addProvidedDependency("com.google.gwt", "gwt-dev", version))
gwtResolvedDependencies.addAll(addProvidedDependency("com.google.gwt", "gwt-user", version))
addDependency("com.google.gwt", "gwt-servlet", version)
if (version.startsWith("2.5")) {
addDependency("com.google.gwt", "gwt-codeserver", version)
addDependency("org.json", "json", "20090211")
}
addDependency("javax.validation", "validation-api", "1.1.0.Final")
addDependency("javax.validation", "validation-api", "1.1.0.Final", "sources")
}
Is changing this to version 1.1.0 Final going to break anything else with the plugin? It seems to run just fine now as far as I can tell.
If anyone else is having this issue, you might want to make a change in the plugin itself.