Joda Time Validation Exception (Glassfish)

I’m trying to bind a BeanFieldGroup to a form I’m building and all is fine except for instances of DateField.

I get this exception when running the application:

java.lang.TypeNotPresentException: Type org.joda.time.ReadableInstant not present

at org.hibernate.validator.internal.util.TypeHelper.resolveTypeForClassAndHierarchy(

Caused by: java.lang.ClassNotFoundException: org.joda.time.ReadableInstant


This seems to have been a bug in previous versions of Glassfish/JBoss (see:
), although I’m using Glassfish 4.0 in which it’s supposed to have been fixed.

I’m wondering if this might be something to do with Vaadin. Does anyone else have experience of this or can anyone please suggest any fixes? I’ve tried some of the suggessted workarounds e.g adding the joda-time jar to glassfish/modules but nothing seems to fix it. Thanks