Problem Running DynaTableRf sample app in Eclipse Indigo: No source code is available for type javax.validation.ConstraintViolation<T>

60 views
Skip to first unread message

Nicolas Schwarzentrub

unread,
Nov 15, 2011, 4:18:24 AM11/15/11
to google-we...@googlegroups.com
I imported http://google-web-toolkit.googlecode.com/svn/trunk/samples/dynatablerf into my eclipse indigo workspace.

Running with `mvn package gwt:run` works fine, after adding the validation api to the pom

    <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>1.0.0.GA</version>
    </dependency>

However if I try to run with the gwt plugin in eclipse indigo I got the following Error:

[ERROR] [dynatablerf] - Line 97: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?

Am I missing something? Can anyone help?

Nicolas

unread,
Nov 16, 2011, 5:56:55 AM11/16/11
to google-we...@googlegroups.com
Well it works after manually adding the javax.validation-validation-api-1.0.0.GA-sources.jar to the classpath.
Don't understand it, since it should already have been to the classpath throught maven
Reply all
Reply to author
Forward
0 new messages