java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;

Oracle Community | 343927 | 5 years 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

    db:: 3.66::rt.jar NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException 8x

    hivmr.com | 11 months ago
    java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;
  2. 0

    prefer-application-packages causes weblogic to use application classes!

    Oracle Community | 5 years ago | 343927
    java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;

      at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory()
    2. com.bea.core
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(Unknown Source)
      2. com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(Unknown Source)
      3. com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(Unknown Source)
      4. com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Unknown Source)
      5. com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Unknown Source)
      6. com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
      7. com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
      8. com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
      8 frames
    3. com.oracle.pitchfork
      EjbComponentCreatorBrokerImpl.initialize
      1. com.oracle.pitchfork.server.DefaultContainerBootstrap.bootstrap(DefaultContainerBootstrap.java:51)
      2. com.oracle.pitchfork.server.Bootstrap.deploy(Bootstrap.java:147)
      3. com.oracle.pitchfork.spi.WLSBootstrap.deploy(WLSBootstrap.java:108)
      4. com.oracle.pitchfork.server.Bootstrap.deploy(Bootstrap.java:114)
      5. com.oracle.pitchfork.spi.BaseComponentBrokerImpl.initialize(BaseComponentBrokerImpl.java:45)
      6. com.oracle.pitchfork.spi.EjbComponentCreatorBrokerImpl.initialize(EjbComponentCreatorBrokerImpl.java:43)
      6 frames
    4. weblogic.ejb.container
      EJBModule.activate
      1. weblogic.ejb.container.injection.EjbComponentCreatorImpl.initialize(EjbComponentCreatorImpl.java:65)
      2. weblogic.ejb.container.deployer.EJBDeployer.initializeComponentCreator(EJBDeployer.java:721)
      3. weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:942)
      4. weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:470)
      4 frames
    5. weblogic.application.internal
      ModuleStateDriver$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:192)
      2. weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:187)
      2 frames
    6. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    7. weblogic.application.internal
      ModuleStateDriver$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)
      2. weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:206)
      3. weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:97)
      4. weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
      5. weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:192)
      6. weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:187)
      6 frames
    8. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    9. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)
      2. weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:145)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
      3 frames
    10. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    11. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
      2. weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      3 frames
    12. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:192)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:369)
      3 frames
    13. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
      8 frames
    14. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    15. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames