My Oracle Support Banner

ClassNotFoundException due to org.hibernate.hql.ast.HqlToken in Weblogic (Doc ID 946122.1)

Last updated on APRIL 04, 2018

Applies to:

Oracle Weblogic Server - Version 10.0 to 10.3.5
Information in this document applies to any platform.

Symptoms

When using Hibernate and Spring framework in Weblogic, the following ClassNotFoundException was thrown due to org.hibernate.hql.ast.HqlToken --

org.springframework.orm.hibernate3.HibernateQueryException: ClassNotFoundException:
org.hibernate.hql.ast.HqlToken [...]; nested
exception is org.hibernate.QueryException: ClassNotFoundException:
org.hibernate.hql.ast.HqlToken [...]
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactor
yUtils.java:640)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccess
or.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:378)
... ... ...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.