javax.validation.ConstraintViolationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Ignore javax validation in REST Response
    via Stack Overflow by Don Nitke
    ,
  • WLS 12.2.1.1 unwanted JAXBMarshaller
    via Stack Overflow by Dopele
    ,
    • javax.validation.ConstraintViolationException at org.eclipse.persistence.exceptions.BeanValidationException.constraintViolation(BeanValidationException.java:53) at org.eclipse.persistence.jaxb.JAXBBeanValidator.buildConstraintViolationException(JAXBBeanValidator.java:383) at org.eclipse.persistence.jaxb.JAXBBeanValidator.validate(JAXBBeanValidator.java:271) at org.eclipse.persistence.jaxb.JAXBMarshaller.validateAndTransformIfNeeded(JAXBMarshaller.java:588) at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:516) at org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter.writeToResult(Jaxb2RootElementHttpMessageConverter.java:187) at org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter.writeInternal(AbstractXmlHttpMessageConverter.java:66) at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:195) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:238)
    No Bugmate found.