I see in the RequestFactory example (
http://code.google.com/p/google-
web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/
google/gwt/#gwt/sample/expenses/shared), the Entity has properties
that have constraint annotations like
javax.validation.constraints.Size. Unfortunately when I try to use
them Eclipse just gives me red lines.. I think the package is missing.
How can I fix this? I'm on Ubuntu Linux with as little changed as is
required to get the Google Web Toolkit Plugin working.
Also .jsp files in my war directory are not getting highlighted and
can only be opened with a Text Editor. Is there a thing from one of
the eclipse software repositories that I need to download? I tried
installing a bunch of Java related stuff but it hasn't helped.