java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) 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

cloudbbs.org | 4 months ago
  1. 0

    搭建了一下午的java工程,一直报错,我都无语到极点了 - Java - 云计算开发者社区 - Powered by Discuz!

    cloudbbs.org | 4 months ago
    java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) 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

    [Mifos-developer] Getting Error

    Google Groups | 3 years ago | Amit Gupta
    java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/github/mifosx/mifosng-provider/build/tmp/tomcatRunWar/work/ Tomcat/localhost/mifosng-provider/WEB-INF/lib/jaxb-impl-2.2.3-1.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
  3. 0

    JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/usr/home/youtrack/.youtrack/work/jetty-0.0.0.0-8112-youtrack-4.1.3.jar--any-/webapp/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

    YouTrack | 4 years ago
    java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/usr/home/youtrack/.youtrack/work/jetty-0.0.0.0-8112-youtrack-4.1.3.jar--any-/webapp/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A problem apear on weblogic 10.3,but tomcat is worked [Solved] (Web Services forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) 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
  6. 0

    loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) 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

    YouTrack | 6 years ago
    java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) 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

    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/eclipse/jetty/webapp/WebAppClassLoader) 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:263)
      2. com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:65)
      3. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:133)
      4. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:85)
      5. com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:156)
      6. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:93)
      7. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:473)
      8. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:319)
      9. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1170)
      10. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:145)
      11. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:236)
      11 frames
    3. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:624)
      5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:152)
      6. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:112)
      7. javax.xml.bind.ContextFinder.find(ContextFinder.java:309)
      8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
      9. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
      10. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
      10 frames
    4. Jersey
      WebApplicationImpl$13.f
      1. com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:72)
      2. com.sun.jersey.server.impl.wadl.WadlFactory.init(WadlFactory.java:97)
      3. com.sun.jersey.server.impl.application.RootResourceUriRules.initWadl(RootResourceUriRules.java:169)
      4. com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:106)
      5. com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1298)
      6. com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:169)
      7. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:775)
      8. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:771)
      8 frames
    5. jersey-core
      Errors.processWithErrors
      1. com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
      1 frame
    6. Jersey
      WebApplicationImpl.initiate
      1. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771)
      2. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766)
      2 frames
    7. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488)
      2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318)
      3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609)
      4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)
      6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556)
      6 frames
    8. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:241)
      1 frame
    9. com.sina.sae
      SaeServletHolder.initServlet
      1. com.sina.sae.servlet.SaeServletHolder.initServlet(SaeServletHolder.java:44)
      1 frame
    10. Jetty
      Scanner$1.run
      1. org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
      2. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      3. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:765)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:245)
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      9. org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
      10. org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
      11. org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:482)
      12. org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:135)
      13. org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:154)
      14. org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:55)
      15. org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:655)
      16. org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:534)
      17. org.eclipse.jetty.util.Scanner.scan(Scanner.java:394)
      18. org.eclipse.jetty.util.Scanner$1.run(Scanner.java:345)
      18 frames
    11. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:534)
      2. java.util.TimerThread.run(Timer.java:484)
      2 frames