Issues

Select view

Select search mode

 

ClassNotFoundException: org.hibernate.hql.ast.HqlToken When performing HQL query

Fixed

Description

This issue was previously discussed in https://groups.google.com/forum/#!msg/lucee/9cdfJ-jJGDM/T7fPmyeeBQAJ

SO reports from from Spring seem to indicate that this is related to the antlr dependency, which may have arisen from migrating orm to a module.

To duplicate, perform any HQL query with the Hibernate module installed.

cc/

Environment

Version Lucee 5.0.0.174-BETA
Version Name Velvet
Release date Jan 29, 2016
ColdFusion® compatibilty version 10.0.0.0
OS Mac OS X (10.11.2) 64bit
Servlet Container Apache Tomcat/8.0.15
Java 1.7.0_45 (Oracle Corporation) 64bit
Architecture 64bit

Attachments

1

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 31 January 2016 at 01:56
Updated 5 February 2021 at 12:20
Resolved 5 February 2016 at 14:39

Activity

Show:

Mingo Hagen17 July 2016 at 16:15

Additional info: I'm using PostgreSQL

Mingo Hagen16 July 2016 at 15:43

I'm still getting this error (stack trace included) on Lucee 5.0.0.252

Michael Offner1 February 2016 at 13:59

the hibernate library does export the package in question, problem is that antlr does not import it and because of that is not aware of it, we need to dynamic-import it (and maybe others as well).

FYI: we are also working on a new version of the hibernate extension (different branch), that is using the latest 4 version of hibernate that is already OSGi based.

Michael Offner1 February 2016 at 13:52

stacktrace:

Flag notifications