Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] NoClassDefFoundError: ConstraintViolationException

On 31.08.14 23:37, Caoilte O'Connor wrote:
Hi,
I was trying the latest nightly (2014/08/30) to see if

https://bugs.eclipse.org/bugs/show_bug.cgi?id=440681

is fixed already (perhaps by

https://bugs.eclipse.org/bugs/show_bug.cgi)

(It would be good if someone could confirm which ticket should have fixed it.)
Hi,
 I assume it has been this one (someone please correct me if not):
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=440360

Anyway when I switch to the snapshot build in my dependencies (over 2.5.2) I get

java.lang.NoClassDefFoundError: javax/validation/ConstraintViolationException [info] at org.eclipse.persistence.jaxb.JAXBUnmarshaller.<init>(JAXBUnmarshaller.java:107) [info] at org.eclipse.persistence.jaxb.JAXBContext$JAXBContextState.createUnmarshaller(JAXBContext.java:1557)
Would you please provide more details on how you're invoking eclipselink to reproduce this? Seems like we're still missing a dependency somewhere.
Is there an easy fix for this?
Shall be - add javax bean validation api to classpath,

 MartiNG



Back to the top