java.lang.ClassCastException: oracle.xml.jaxp.JXDocumentBuilderFactory

Oracle Community | 589072 | 10 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

    luntbuild class cast exception

    Oracle Community | 10 years ago | 589072
    java.lang.ClassCastException: oracle.xml.jaxp.JXDocumentBuilderFactory
  2. 0

    ClassCastException running Spring app on Weblogic 9.2

    Stack Overflow | 6 years ago | Bryan Hengels
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
  3. 0

    Spring MVC 3.0.0 app won't bootstrap on Weblogic Server 11gR1 - ClassCastException

    Stack Overflow | 7 years ago | Andrew Harmel-Law
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    .ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

    Stack Overflow | 3 years ago | user2982680
    java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

    3 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.lang.ClassCastException

      oracle.xml.jaxp.JXDocumentBuilderFactory

      at javax.xml.parsers.DocumentBuilderFactory.newInstance()
    2. Java RT
      DocumentBuilderFactory.newInstance
      1. javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
      1 frame
    3. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:250)
      2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:217)
      3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
      4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
      5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:129)
      6. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:145)
      6 frames
    4. Spring
      XmlWebApplicationContext.loadBeanDefinitions
      1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
      2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
      2 frames
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)
      2 frames
    6. Spring
      AbstractRefreshableWebApplicationContext.refresh
      1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
      1 frame
    7. com.luntsys.luntbuild
      LuntbuildContextListener.contextInitialized
      1. com.luntsys.luntbuild.utility.Luntbuild.initApplication(Luntbuild.java:1258)
      2. com.luntsys.luntbuild.LuntbuildContextListener.contextInitialized(LuntbuildContextListener.java:55)
      2 frames
    8. com.evermind.server
      HttpSite.addHttpApplication
      1. com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
      2. com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
      3. com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
      4. com.evermind.server.Application.getHttpApplication(Application.java:570)
      5. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
      6. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
      7. com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
      7 frames
    9. oracle.oc4j.admin
      OC4JDeployer.bindWebApp
      1. oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
      2. oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
      3. oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployer.bindWebApp(OC4JDeployer.java:75)
      3 frames
    10. Java RT
      JmxMBeanServer.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      5. com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
      6. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      7. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      8. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      8 frames
    11. oracle.oc4j.admin
      MBeanServerEjbBean.invoke
      1. oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
      2. oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:365)
      3. oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:332)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    13. com.evermind.server
      StatefulSessionEJBObject.OC4J_invokeMethod
      1. com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
      2. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      3. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      4. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      5. com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
      6. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      7. com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
      8. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      9. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      10. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      11. com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      12. com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
      12 frames
    14. Unknown
      MBeanServerEjb_RemoteProxy_1me2j7.invoke
      1. MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    16. com.evermind.server
      RmiMethodCall.run
      1. com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
      1 frame
    17. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame