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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class
via Oracle Community by 3004, 1 year ago
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class
java.lang.reflect.InvocationTargetException: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Parser class
at weblogic.xml.jaxp.WebLogicSAXParserFactory.newSAXParser(WebLogicSAXParserFactory.java:44)
at weblogic.xml.process.ProcessorDriver.setupSAXParser(ProcessorDriver.java:254)
at weblogic.xml.process.ProcessorDriver.(ProcessorDriver.java:52)
at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.(EjbJarLoader_EJB11.java:455)
at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:240)
at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:201)
at weblogic.ejb20.dd.xml.DDUtils.loadEJBJarDescriptorFromJarFile(DDUtils.java:151)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:135)
at weblogic.ant.taskdefs.ejb.WSGenHelper.setupEJB(WSGenHelper.java:230)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:315)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.