File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Hibernate Query Exception: Class Not Found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hibernate Query Exception: Class Not Found" Watch "Hibernate Query Exception: Class Not Found" New topic

Hibernate Query Exception: Class Not Found

nithin chinni
Ranch Hand

Joined: Dec 02, 2010
Posts: 41
Hello I have been working on tomcat server and recently wanted to try the same thing on weblogic. I did not create any WAR or EAR file. Just added the project and made it run the project. It is throwing error and I could not figure out how to solve it. I checked google on how to do this but the solution is only if I have the application.xml. What should I do now?

thinkpavan pavan

Joined: Apr 06, 2011
Posts: 6
check you antlr version. that seems to be the problem. which version of weblogic are you using?
Aan Kurniawan

Joined: Apr 14, 2011
Posts: 9

Add the antlr jar that comes with your Hibernate version to the CLASSPATH variable in <Your WL Domain Home>/bin/
It will override the one existing in Weblogic libs.

Aan Kurniawan
OCPJP JavaSE 6 (98%), OCP JEE 5 WCD (100%), OCP JEE 5 BCD (98%), SCEA/OCM JEE5 EA (Part 1-2-3)
I agree. Here's the link:
subject: Hibernate Query Exception: Class Not Found
It's not a secret anymore!