I am trying the example code for using hibernate in Groovy here:
It works fine when I run it via groovy, but when I run it with groovyConsole I am getting a classloader issue:
org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken
A little googling suggest to me that the issue is Hibernate and ANTLR coming from different classloaders, but if that is the case, it isn't clear to me how I might work around the issue and still use grape for dependencies. (I have several developers who are very productive with the console, and I would really like to avoid retooling.)