Hi,
Am using Hibernate 2.1, JDK 1.4.2, and running the ant task SchemaExportTask, get the following and the ddl is not being generated.
Buildfile: D:\eclipseProjs\Hibern8Xmpl\build\build_1.xml
db-schema:
[schemaexport] log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment).
[schemaexport] log4j:WARN Please initialize the log4j system properly.
BUILD FAILED: file:D:/eclipseProjs/Hibern8Xmpl/build/build_1.xml:99: Schema text failed: org.dom4j.DocumentException: Error on line 1 of document : Document root element is missing. Nested exception: Document root element is missing.
Total time: 931 milliseconds
Appreciate any leads,
Thanks
|