groovy - classloader issues with hibernate and groovyConsole -


i trying example code using hibernate in groovy here:

http://groovy.codehaus.org/using+hibernate+with+groovy

it works fine when run via groovy, when run groovyconsole getting classloader issue:

org.hibernate.queryexception: classnotfoundexception: org.hibernate.hql.ast.hqltoken

a little googling suggest me issue hibernate , antlr coming different classloaders, if case, isn't clear me how might work around issue , still use grape dependencies. (i have several developers productive console, , avoid retooling.)


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -