[
https://issues.jboss.org/browse/JBIDE-17853?page=com.atlassian.jira.plugi...
]
Jiri Peterka closed JBIDE-17853.
--------------------------------
Verified with JBDS 8.0.0.CR1, GNU/Linux 64, Fedora 20
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
Assignee: Koen Aers
Priority: Blocker
Fix For: 4.2.0.CR1
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.3.1#6329)