java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Spring JIRA | Erik-Jan Blanksma | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0
  3. 0

    [HHH-4427] Unable to run tests under JDK 5 - JAXB missing - Hibernate JIRA

    atlassian.net | 2 years ago
    org.hibernate.HibernateException: Unable to get the default Bean Validation factory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/xml/bind/JAXBException

      at org.hibernate.validation.engine.ConfigurationImpl.parseValidationXml()
    2. org.hibernate.validation
      ConfigurationImpl.buildValidatorFactory
      1. org.hibernate.validation.engine.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:187)
      2. org.hibernate.validation.engine.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:116)
      2 frames
    3. JavaEE 7
      Validation.buildDefaultValidatorFactory
      1. javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:109)
      1 frame
    4. com.springsource.petclinic
      OwnerController.create
      1. com.springsource.petclinic.web.OwnerController_Roo_Controller.ajc$interMethod$com_springsource_petclinic_web_OwnerController_Roo_Controller$com_springsource_petclinic_web_OwnerController$create(OwnerController_Roo_Controller.aj:18)
      2. com.springsource.petclinic.web.OwnerController.create(OwnerController.java:1)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Spring
      HandlerMethodInvoker.doInvokeMethod
      1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:654)
      1 frame