Deploying EAR File Using Hibernate Errors With "ClassNotFoundException: org.hibernate.hql.ast.HqlToken"

(Doc ID 462029.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.0
This problem can occur on any platform.

Symptoms

In OAS 10.1.2, when trying to deploy an EAR file using Hibernate the following error occurs.

org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken

Cause

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 hundreds of Community platforms