org.springframework.orm.hibernate3.HibernateQueryException: ClassNotFoundExcepti

在Tomcat下运行正常,移植到weblogic10.3下时出现:
org.springframework.orm.hibernate3.HibernateQueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken异常的方案
解决一:
找到weblogic 的安装目录下的modules文件夹,删除其下的
com.bea.core.antlr_2.7.7.jar、com.bea.core.antlr.runtime_2.7.7.jar
的这两个包即可。

注:问题就是jar包冲突hibernate3需要antlr-2.7.6.jar的支持,而在
weblogic10.3安装目录下有两个jar和工程里的jar(antlr-2.7.6.jar)包冲突

你可能感兴趣的:(tomcat,Hibernate,weblogic,orm)