• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic 10.3.2 deployment error - ClassNotFoundException: org.hibernate.hql.ast.HqlToken

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am facing the following error while deploying the EAR which is working fine in Weblogic 9.2.
I tried couple of steps to get ride of this error. But nothing worked. Any idea? ( like adding the antlr.jar and hibernate3.jar in weblogic-application.xml and adding these in PRE_CLASSPATH as well)


org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [From com.alcatel.nrts.web.datatier.da
oimpl.NewsImpl as newsimpl where newsimpl.statusId= 0 order by newsimpl.id desc]
at org.hibernate.hql.ast.HqlLexer.panic(HqlLexer.java:57)
at antlr.CharScanner.setTokenObjectClass(CharScanner.java:340)
at org.hibernate.hql.ast.HqlLexer.setTokenObjectClass(HqlLexer.java:31)
at antlr.CharScanner.<init>(CharScanner.java:51)

Regards,
Prasanth Pillai
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As the exception clearly indicates, weblogic is expecting the classes at a particular location.

Try putting the related jars in domain/lib folder under WLS installation directory. Let us know if that worked.
 
Prasanth S Pillai
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sudipta for the response. I have solved the issue earlier, but really appreciate your help.
my resolution can be viewed at http://sprasanth.blogspot.com/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic