I\'m getting the following stack trace...
java.lang.ClassNotFoundException: org.hibernate.service.jndi.JndiException
java.net.URLClassLoader$1.run(Unknow
There could be 2 reasons:
1: an appropriate hibernate lib which contains the JNDIException is missing within the classpath
2: There is a version conflict between duplicate hibernate.jars. This can happen if one tries to deploy an application within a JEEContainer (server) which already provides the same library but with a different version.
When the JNDIException class can be resolved than your main problem becomes apparent within the error message.