java.lang.reflect.InvocationTargetException: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class

Oracle Community | 3004 | 2 decades 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

    Stack trace from wsgen Ant task. Any ideas, WebService gurus?

    Oracle Community | 2 decades ago | 3004
    java.lang.reflect.InvocationTargetException: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class
  2. 0

    Unable to finish wsgen target while building

    Oracle Community | 2 decades ago | 3004
    java.lang.reflect.InvocationTargetException: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class

      at weblogic.xml.jaxp.WebLogicSAXParserFactory.newSAXParser()
    2. weblogic.xml.jaxp
      WebLogicSAXParserFactory.newSAXParser
      1. weblogic.xml.jaxp.WebLogicSAXParserFactory.newSAXParser(WebLogicSAXParserFactory.java:44)
      1 frame
    3. weblogic.xml.process
      ProcessorDriver.<init>
      1. weblogic.xml.process.ProcessorDriver.setupSAXParser(ProcessorDriver.java:254)
      2. weblogic.xml.process.ProcessorDriver.<init>(ProcessorDriver.java:52)
      2 frames
    4. weblogic.ejb20.dd
      EjbJarLoader_EJB20.<init>
      1. weblogic.ejb20.dd.xml.EjbJarLoader_EJB20.<init>(EjbJarLoader_EJB20.java:959)
      1 frame
    5. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      1 frame
    6. weblogic.xml.process
      ProcessorFactory.getProcessor
      1. weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:240)
      2. weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:201)
      2 frames
    7. weblogic.ejb20.dd
      DDUtils.createDescriptorFromJarFile
      1. weblogic.ejb20.dd.xml.DDUtils.loadEJBJarDescriptorFromJarFile(DDUtils.java:151)
      2. weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:135)
      2 frames
    8. weblogic.ant.taskdefs
      WSGen.execute
      1. weblogic.ant.taskdefs.ejb.WSGenHelper.setupEJB(WSGenHelper.java:230)
      2. weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:315)
      3. weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1514)
      4. weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
      4 frames
    9. Ant
      Main.main
      1. org.apache.tools.ant.Target.execute(Target.java:153)
      2. org.apache.tools.ant.Project.runTarget(Project.java:898)
      3. org.apache.tools.ant.Project.executeTarget(Project.java:536)
      4. org.apache.tools.ant.Project.executeTargets(Project.java:510)
      5. org.apache.tools.ant.Main.runBuild(Main.java:421)
      6. org.apache.tools.ant.Main.main(Main.java:149)
      6 frames