Skip to main content

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

Hi Martin,
Thanks for the quick response.

Nothing fancy,

Are you saying that there's a bug with the current snapshot and that the dependency on the bean validation API is currently missing from the pom or that there are specific annotations which trigger it?

(could it be it should have been added here,

BTW, with that dependency added everything worked fine and I am able to confirm that 


is no longer an issue. I will also add a comment to the bugzilla.



Good project. Very happy I switched over from metro.

c







On Mon, Sep 1, 2014 at 11:32 AM, Martin Grebac <martin.grebac@xxxxxxxxxx> wrote:
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