java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type

  1. 0

    loader constraint violation while running testcases in grails using maven

    Stack Overflow | 4 years ago | Hardik Patel
    java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type
  2. 0

    LinkageError while trying to use war-file bundled jars

    Oracle Community | 8 years ago | 807567
    java.lang.LinkageError: JAXB 2.0 API jar is being loaded (from jar:file:/sun/webserver7/lib/webserv-jwsdp.jar!/javax/xml/bind/annotation/XmlSchema.class), but this RI (from jar:file:/sun/webserver7/https-msoa5/web-app/msoa5/tManager/WEB-INF/lib/jaxb-impl.jar!/com/su n/xml/bind/v2/model/impl/ModelBuilder.class) requires JAXB 2.1 API jar.
  3. 0

    db:: 4.51::pages.xml redirect view-id under WEB-INF? 8d

    hivmr.com | 11 months ago
    java.lang.LinkageError: JAXB 2.0 API jar is being loaded (from jar:file:/sun/webserver7/lib/webserv-jwsdp.jar!/javax/xml/bind/annotation/XmlSchema.class), but this RI (from jar:file:/sun/webserver7/https-msoa5/web-app/msoa5/tManager/WEB-INF/lib/jaxb-impl.jar!/com/su n/xml/bind/v2/model/impl/ModelBuilder.class) requires JAXB 2.1 API jar.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.16::WService Error: set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureSta sk

    hivmr.com | 4 months ago
    java.lang.LinkageError: JAXB 2.0 API jar is being loaded (from jar:file:/sun/webserver7/lib/webserv-jwsdp.jar!/javax/xml/bind/annotation/XmlSchema.class), but this RI (from jar:file:/sun/webserver7/https-msoa5/web-app/msoa5/tManager/WEB-INF/lib/jaxb-impl.jar!/com/su n/xml/bind/v2/model/impl/ModelBuilder.class) requires JAXB 2.1 API jar.
  6. 0

    db:: 4.53::ModuleClassLoader for WAR only sees WEB-INF/lib and WEB-INF/classes (no "resources") ? zp

    hivmr.com | 6 months ago
    java.lang.LinkageError: JAXB 2.0 API jar is being loaded (from jar:file:/sun/webserver7/lib/webserv-jwsdp.jar!/javax/xml/bind/annotation/XmlSchema.class), but this RI (from jar:file:/sun/webserver7/https-msoa5/web-app/msoa5/tManager/WEB-INF/lib/jaxb-impl.jar!/com/su n/xml/bind/v2/model/impl/ModelBuilder.class) requires JAXB 2.1 API jar.

    4 unregistered visitors
    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.LinkageError

      loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type

      at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>()
    2. Old JAXB Runtime
      ContextFactory.createContext
      1. com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:224)
      2. com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:61)
      3. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:127)
      4. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:79)
      5. com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:152)
      6. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:87)
      7. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
      8. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
      9. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
      10. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
      10 frames
    3. Java RT
      JAXBContext.newInstance
      1. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
      2. javax.xml.bind.ContextFinder.find(ContextFinder.java:372)
      3. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
      4. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
      4 frames
    4. JAX-WS RI Runtime Bundle
      ProviderImpl$2.run
      1. com.sun.xml.ws.spi.ProviderImpl$2.run(ProviderImpl.java:220)
      2. com.sun.xml.ws.spi.ProviderImpl$2.run(ProviderImpl.java:218)
      2 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. JAX-WS RI Runtime Bundle
      ProviderImpl.<clinit>
      1. com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:217)
      2. com.sun.xml.ws.spi.ProviderImpl.<clinit>(ProviderImpl.java:88)
      2 frames
    7. Java RT
      Service.create
      1. java.lang.Class.newInstance0(Class.java:355)
      2. java.lang.Class.newInstance(Class.java:308)
      3. javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36)
      4. javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95)
      5. javax.xml.ws.spi.Provider.provider(Provider.java:82)
      6. javax.xml.ws.Service.<init>(Service.java:56)
      7. javax.xml.ws.Service.create(Service.java:698)
      7 frames
    8. com.j2.api
      MyaccountClient$1.makeObject
      1. com.j2.api.fax.myaccount.client.MyaccountClient$1.makeObject(MyaccountClient.java:28)
      1 frame
    9. Commons Pool
      GenericObjectPool.borrowObject
      1. org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
      1 frame
    10. com.j2.api
      MyaccountClient$authenticateByPhoneNumber.call
      1. com.j2.api.fax.myaccount.client.MyaccountClient.authenticateByPhoneNumber(MyaccountClient.java:66)
      2. com.j2.api.fax.myaccount.client.MyaccountClient$authenticateByPhoneNumber.call(Unknown Source)
      2 frames
    11. com.j2.helpers
      LoginHelper$authenticateCustomerByPhoneNumber.call
      1. com.j2.helpers.LoginHelper.authenticateCustomerByPhoneNumber(LoginHelper.groovy:86)
      2. com.j2.helpers.LoginHelper$authenticateCustomerByPhoneNumber.call(Unknown Source)
      2 frames
    12. com.j2.spa
      MobileController$_closure7.call
      1. com.j2.spa.MobileService.login(MobileService.groovy:508)
      2. com.j2.spa.MobileService$login.call(Unknown Source)
      3. com.j2.spa.MobileController$_closure7.doCall(MobileController.groovy:109)
      4. com.j2.spa.MobileController$_closure7.call(MobileController.groovy)
      4 frames
    13. Unknown
      MobileControllerTests.testLogin_Failure_UsernameNotFound
      1. MobileControllerTests.testLogin_Failure_UsernameNotFound(MobileControllerTests.groovy:42)
      1 frame