I'm getting the following error message during startup of a web
application file :
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mySessionFactory' defined in ServletContext
resource
[/WEB-INF/appcontext/databaseContext.xml]: Initialization of bean
fail
Open all the files pertaining to hibernate in XML SPY and you should easily
find out which file its failing on
- H
From: "Jeff Mutonho" <[EMAIL PROTECTED]>
To: dom4j-user@lists.sourceforge.net
Subject: [dom4j-user]
net.sf.hibernate.MappingException:org.dom4j.DocumentException:
Date: Thu
I figured out the problem. I had some JAXP classes in Tomcat's common/lib
directory that confused the class loader (different class loader for common/lib
than for the application). Removing them (no longer needed with Java 5) fixed
the problem.
-George
==
6.
I don't think should be a "feature" of dom4j because it's really irritating to
generate common XML formats like WEB-INF/web.xml and see a bunch of xmlns=""
attributes throughout the web.xml instead of seeing the typical web.xml. It
would be a nice "feature" if dom4j had the smarts to not print t