[jbosstools-issues] [JBoss JIRA] (JBIDE-17853) Parsing error while opening Console Configuration

Jiri Peterka (JIRA) issues at jboss.org
Fri Jul 11 02:19:23 EDT 2014


Jiri Peterka created JBIDE-17853:
------------------------------------

             Summary: Parsing error while opening Console Configuration
                 Key: JBIDE-17853
                 URL: https://issues.jboss.org/browse/JBIDE-17853
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: hibernate
    Affects Versions: 4.2.0.Beta3
         Environment: JBDS 8.0.0.Beta3, Windows 8.1, JDK 1.7
            Reporter: Jiri Peterka
            Priority: Blocker
             Fix For: 4.2.0.Beta3


org.hibernate.HibernateException: Could not parse configuration: C:\Users\jpeterka\workspace\b3\mvn-hibernate40\src\main\java\hibernate.cfg.xml
Could not parse configuration: C:\Users\jpeterka\workspace\b3\mvn-hibernate40\src\main\java\hibernate.cfg.xml
  org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
  org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
    org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
    org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

Console configuration
{code}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
		"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
		"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="hibernate.connection.driver_class">org.h2.Driver</property>
        <property name="hibernate.connection.url">jdbc:h2:tcp://localhost/sakila</property>
        <property name="hibernate.connection.username">sa</property>
        <property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property>
    </session-factory>
</hibernate-configuration>
{code}



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list