java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

Stack Overflow | FelipeP | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    WildFly DataSource Services which failed to start

    Stack Overflow | 7 months ago | FelipeP
    java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
  2. 0

    wildflyにhibernateを含むアプリケーションをdeployしたらこんなエラーが出た(治ってなかった) - Qiita

    qiita.com | 11 months ago
    java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
  3. 0

    Apache poi xlsx format not working with osgi

    Stack Overflow | 2 years ago | user3205867
    java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Classloading issue with OSGi and JNI

    Stack Overflow | 5 years ago | Kojotak
    java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

      at org.dom4j.DocumentFactory.getInstance()
    2. dom4j
      DocumentFactory.getInstance
      1. org.dom4j.DocumentFactory.getInstance(DocumentFactory.java:97)
      1 frame
    3. Hibernate
      XMLHelper$1.doWork
      1. org.hibernate.internal.util.xml.XMLHelper$1.doWork(XMLHelper.java:33)
      2. org.hibernate.internal.util.xml.XMLHelper$1.doWork(XMLHelper.java:27)
      2 frames
    4. org.hibernate.boot
      ClassLoaderServiceImpl.workWithClassLoader
      1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.workWithClassLoader(ClassLoaderServiceImpl.java:342)
      1 frame
    5. Hibernate
      XMLHelper.<init>
      1. org.hibernate.internal.util.xml.XMLHelper.<init>(XMLHelper.java:26)
      1 frame
    6. org.hibernate.envers
      AdditionalJaxbMappingProducerImpl.produceAdditionalMappings
      1. org.hibernate.envers.boot.internal.EnversServiceImpl.initialize(EnversServiceImpl.java:115)
      2. org.hibernate.envers.boot.internal.AdditionalJaxbMappingProducerImpl.produceAdditionalMappings(AdditionalJaxbMappingProducerImpl.java:99)
      2 frames
    7. org.hibernate.boot
      MetadataBuildingProcess.complete
      1. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:288)
      1 frame
    8. org.hibernate.jpa
      EntityManagerFactoryBuilderImpl.build
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:847)
      2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874)
      2 frames
    9. org.jboss.as
      TwoPhaseBootstrapImpl.build
      1. org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
      1 frame
    10. JPA
      PersistenceUnitServiceImpl$1$1.run
      1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154)
      2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
      2 frames
    11. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
      1 frame
    12. JPA
      PersistenceUnitServiceImpl$1.run
      1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames
    14. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame