[dom4j-user] net.sf.hibernate.MappingException: org.dom4j.DocumentException:

2007-05-31 Thread Jeff Mutonho
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

Re: [dom4j-user] net.sf.hibernate.MappingException:org.dom4j.DocumentException:

2007-05-31 Thread Nichiketa s
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

Re: [dom4j-user] java.lang.NoClassDefFoundError: org/dom4j/Branch

2007-05-31 Thread George Van Treeck
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.

Re: [dom4j-user] Creating a namespace without a prefix (as in

2007-05-31 Thread George Van Treeck
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