I should have quoted the post I was replying to, but I forgot ...
Anyway, it's this one:
http://forums.java.net/node/888356
In summary, validation fails when using @Past and @Future, with this
error: java.lang.ClassNotFoundException:
org.joda.time.ReadableInstant
The good news is that after putting on my Sherlock Holmes attire and
investigating it for the better part of my working day, it seems that
there was reported a similar bug in JBoss AS 7:
https://issues.jboss.org/browse/AS7-1465 The bug is that Hibernate
Validator needs Joda Time, but it's not on its classpath. The solution
I opted for, was to repackage bean-validator.jar with joda-time. This
seems to work, but it's far from optimal.
Reported as a bug in GF here:
http://java.net/jira/browse/GLASSFISH-19009
Have a nice day! :)
2012/8/16 Martin Gainty <mgainty_at_hotmail.com>:
> Oracle employees are still on paid vacation...one of the many Glassfish
> volunteers can help you if you publish your specific problem and which
> version of GF is causing error
>
> Mit Freundlichen Gruben
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>> To: users_at_glassfish.java.net
>> Subject: Re: Date Bean Validation error when using Joda-time. ...
>> From: forums_at_java.net
>> Date: Thu, 16 Aug 2012 07:47:27 -0500
>
>>
>> Did you ever find a solution to this?
>>
>> --
>>
>> [Message sent by forum member 'vetler']
>>
>> View Post: http://forums.java.net/node/888356
>>
>>