ClassNotFoundException: org.hibernate.service.jndi.JndiException

前端 未结 4 1768
轮回少年
轮回少年 2020-12-19 01:02

I\'m getting the following stack trace...

java.lang.ClassNotFoundException: org.hibernate.service.jndi.JndiException
    java.net.URLClassLoader$1.run(Unknow         


        
4条回答
  •  旧时难觅i
    2020-12-19 01:22

    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.

提交回复
热议问题