Ok, did that. I am now getting the following exception:
Code:
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
org/apache/tools/ant/BuildException
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
org/apache/tools/ant/BuildException
I tried putting ant.jar in my project classpath as well as in my Console Configuration classpath, but that didn't help.
P.S. Other code generation (such as java and hbm.xml files) from the console is working fine.