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

Oracle Community | 343927 | 4 years ago
  1. 0

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

    hivmr.com | 8 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 | 4 years ago | 343927
    java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;
  3. 0

    JRuby/Nokogiri can't find Java XML libs in Mule ESB 3

    Stack Overflow | 5 years ago | Mike
    java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Admin Server Fails To Start weblogic.security /w SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception Caused By: java.lang.NoSuchMethodError: javax/xml/transform/TransformerFactory.newInstance ~ Middleware Times

    blogspot.com | 1 year ago
    java.lang.NoSuchMethodError: javax/xml/transform/TransformerFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/transform/TransformerFactory;
  6. 0

    Steps: 1. Setup a new JIRA instance. Result: 1. There is stack trace in logs regarding {code} 2011-06-10 11:05:20,642 QuartzWorker-1 ERROR ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Error exporting Active Objects. java.runtime.version: 1.6.0_13-b03 java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newFactory(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory; at com.atlassian.dbexporter.node.stax.StaxUtils.newXmlOutputFactory(StaxUtils.java:189) at com.atlassian.dbexporter.node.stax.StaxUtils.newXmlOutputFactory(StaxUtils.java:172) at com.atlassian.dbexporter.node.stax.StaxStreamWriter.createXmlStreamWriter(StaxStreamWriter.java:53) at com.atlassian.dbexporter.node.stax.StaxStreamWriter.<init>(StaxStreamWriter.java:39) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.save(ActiveObjectsBackup.java:105) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:91) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:53) at com.atlassian.jira.service.services.export.ExportService.performBackup(ExportService.java:136) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:121) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-06-10 11:05:20,657 QuartzWorker-1 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Finished saving the Active Objects Backup 2011-06-10 11:06:06,688 Modification Check:thread-1 INFO anonymous 658x41x1 1eo6p1w 0:0:0:0:0:0:0:1 /secure/SetupDatabase.jspa [atlassian.jira.startup.JiraStartupLogger] ___ Modifications ___________________________ Modified Files : None Removed Files : None {code}

    Atlassian JIRA | 5 years ago | Veenu Bharara [Atlassian]
    java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newFactory(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;

    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.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