We have a forum for Hibernate questions; Object Relational Mapping (ORM). I'll move this question there as it's sure to get better/faster responses in the appropriate forum.
Caused by: org.dom4j.DocumentException: Error on line 3 of document : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.
Your hibernate mapping file looks like:
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN""http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
Hi Jaikiran, Thanks for your reply. I`m change the declaration like you said, but now I get error while compiling: Exception in thread "main" org.hibernate.HibernateException: Dialect class not found: net.sf.hibernate.dialect.MySQLDialect
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 366
posted
0
I think this should be
// Mathias
SCJP1.4
Eugene Shaforostov
Greenhorn
Joined: Aug 11, 2007
Posts: 6
posted
0
Thank you! Now everything works without any problem.