I'm trying to generate a DDL and I continue to get the following error.
--- maven-resources-plugin:2.4.3:resources (default-resources) @ eprs ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
Copying 11 resources
<<< hibernate3-maven-plugin:2.2:hbm2ddl (default-cli) @ eprs <<<
--- hibernate3-maven-plugin:2.2:hbm2ddl (default-cli) @ eprs ---
Configuration XML file loaded: file:/C:/Users/gmc07/Desktop/gmc07/code/eprs/src/main/resources/hbm2ddl.cfg.xml
16:10:19,458 INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.GA
16:10:19,464 INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
16:10:19,467 INFO org.hibernate.cfg.Environment - hibernate.properties not found
16:10:19,469 INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
16:10:19,472 INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
16:10:19,500 INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.1.0.GA
Using as namingstrategy org.hibernate.cfg.ImprovedNamingStrategy
Configuration XML file loaded: file:/C:/Users/gmc07/Desktop/gmc07/code/eprs/src/main/resources/hbm2ddl.cfg.xml
16:10:19,504 INFO org.hibernate.cfg.Configuration - configuring from url: file:/C:/Users/gmc07/Desktop/gmc07/code/eprs/src/main/resources/hbm2ddl.cfg.xml
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.112s
Finished at: Wed Jul 13 16:10:20 EDT 2011
Final Memory: 4M/15M
------------------------------------------------------------------------
[ERROR]Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (default-cli) on project eprs: Execution default-cli of goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl failed: Could not parse configuration: file:/C:/Users/gmc07/Desktop/gmc07/code/eprs/src/main/resources/hbm2ddl.cfg.xml: Connection refused: connect Nested exception: Connection refused: connect -> [Help 1]
[ERROR]
[ERROR]To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR]For more information about the errors and possible solutions, please read the following articles:
[ERROR][Help 1]
http://cwiki.apache.org/confluence/disp ... nException