javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created

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

    'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

    Stack Overflow | 1 year ago | Chiranga Alwis
    javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
  2. 0

    [LPS-55633] Unable to start portal using JDK 8 - Liferay Issues

    liferay.com | 1 year ago
    javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
  3. 0

    Parse And Read Xml Element

    wpthm.com | 2 years ago
    javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hyperion Shared Services JAPI.

    Oracle Community | 5 years ago | KKT
    javax.xml.parsers.FactoryConfigurationError: Provider oracle.xml.jaxp.JXDocumentBuilderFactory not found
  6. 0

    javax.xml.parsers.FactoryConfigurationError

    GitHub | 2 years ago | bennyn
    javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created

  1. treefolk 10 times, last 1 month ago
8 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.util.ServiceConfigurationError

    javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

    at java.util.ServiceLoader.fail()
  2. Java RT
    DocumentBuilderFactory.newInstance
    1. java.util.ServiceLoader.fail(ServiceLoader.java:239)
    2. java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    6. javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
    9. javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
    10. javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120)
    10 frames
  3. XMLTooling-J
    XMLConfigurator.<init>
    1. org.opensaml.xml.parse.BasicParserPool.initializePool(BasicParserPool.java:505)
    2. org.opensaml.xml.parse.BasicParserPool.<init>(BasicParserPool.java:141)
    3. org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:88)
    4. org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:74)
    4 frames
  4. OpenSAML-J
    DefaultBootstrap.bootstrap
    1. org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:220)
    2. org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:207)
    3. org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:100)
    3 frames
  5. org.wso2.appserver
    LoggedInSession$SAML2SSO.readObject
    1. org.wso2.appserver.webapp.security.sso.saml.SAMLSSOUtils.doBootstrap(SAMLSSOUtils.java:175)
    2. org.wso2.appserver.webapp.security.sso.saml.SAMLSSOUtils.<clinit>(SAMLSSOUtils.java:113)
    3. org.wso2.appserver.webapp.security.sso.bean.LoggedInSession$SAML2SSO.readObject(LoggedInSession.java:189)
    3 frames
  6. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    5. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    6. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
    7. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    8. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    9. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)
    10. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)
    11. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    12. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    13. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    13 frames
  7. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1629)
    2. org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1092)
    3. org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:261)
    4. org.apache.catalina.session.StandardManager.load(StandardManager.java:180)
    5. org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:460)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5198)
    8. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    9. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    10. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    11. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    12. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
    13. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1798)
    13 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames