Reputation: 2174
I have written an RCP Application using eclipse Luna repository.
Now I want to update to Mars.
Therefore I have changed my target definition so use the mars repository. My Application is starting but if I use some code snippets including my XML Marshaller I get
java.lang.ClassNotFoundException: javax.validation.ConstraintViolationException cannot be found by org.eclipse.persistence.moxy_2.6.0.v20150309-bf26070
The messages is clear, javax.validation.ConstraintViolationException is missing. I had a look to the content of my target definition and could not find javax.validation
So yes it is missing but why?
EclipseLink MOXy was included in the eclipse Luna repository. The Mars repository is missing this Plugins so I added
to get the MOXy Plugins. But I don't know where to get the missing javax.validation Plugin.
Any ideas?
Someone said to get javax.validation from the milestone-update site but I can not find anything different on http://download.eclipse.org/rt/eclipselink/milestone-updates/
Edit 1
Noone?
For testing I have added the eclipselink 2.6.1 downloaded zip Directory to my target definition and it is showing up "javax.validation"
The build process runs fine. But if I want to construct a Marshaller the Exception is thrown.
I think there is something wrong with the classpath the moxy implementation is looking for that class because the class ConstraintViolationException is present in the javax.validation_1.1.0.v201304101302.jar
Upvotes: 3
Views: 1098
Reputation: 307
I've been having this problem this week too :-/
The below just worked for me!
Navigate to http://download.eclipse.org/rt/eclipselink/updates/2.6.1.v20150916-55dc7c3/plugins/. Then click on "Show Directory Contents". Download the following plug-ins:
Then, import the plugins. In Eclipse, File → Import → Plug-in Development → Plug-ins and Fragments
Click Next.
On Import Plug-ins and Fragments:
Click Next
In Selection, select the plug-ins again. I have the first and third checkboxes checked (default?).
Then go to your plug-in and add the two new plug-ins as dependencies.
Upvotes: 2
Reputation: 136
I believe this has been after 2.6.0 has been released. Can you try with http://download.eclipse.org/rt/eclipselink/nightly-updates?
Upvotes: 1