com.em.validation.Validation not found

44 views
Skip to first unread message

crain

unread,
Aug 29, 2011, 10:38:00 AM8/29/11
to gwt-validation
Hi there,

I wanted to use your framework for validation in gwt as it doesnt
support a good validation out of the box(which is really poor for a
version 2.3 to be honest).

I am using gwt 2.3 and downloaded your jar file with version 1.1.0 r88
as I found now dependency in a maven repository and I dont see a need
to build the jar.

1. If I import the jar to my project and add to the *gwt.xml module
the dependency "com.em.validation.Validation" its not found
2. If I change it to "com.google.gwt.validation.Validation" which also
directs to your module and I am including the validation code in my
presenter, GWT is not finding the javax.validation package as its not
included in the GWT JRE library. I also have the valdiation api
included in my classpath and its found but it cant used on client
code.

Can you help on this?

BST

unread,
Aug 30, 2011, 2:23:11 AM8/30/11
to gwt-val...@googlegroups.com
Probably you should go with GWT 2.0.. It is simple to use and definitely stable.There are some significant changes in 2.0..

chris.r

unread,
Aug 30, 2011, 10:15:46 AM8/30/11
to gwt-validation
The library version 1.1.0 r88 is from the 1.0 series of the validation
framework which has different capabilities, limitations, and
instructions for use than the 2.0 features. The instructions and most
of the documentation have been updated to support the 2.0 release of
the framework. For example: "com.em.validation.Validation" is the 2.0
series. For use with the 1.0 series you would need to include the
java bean validation 1.0 source jar.

If you already have maven installed, building the 2.0 framework from
source is as simple as "maven clean compile install" and then you can
use it from your local repository.

Otherwise you'll probably want to try 2.0 preview revision 255. The
only thing it really lacks is class-level validation.

Chris
Reply all
Reply to author
Forward
0 new messages