This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hibernate Query Exception: Class Not Found" Watch "Hibernate Query Exception: Class Not Found" New topic
Author

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
Greenhorn

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
Greenhorn

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/startWebLogic.sh.
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)
 
 
subject: Hibernate Query Exception: Class Not Found