• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate error (classNotFoundException) in Weblogic 10 on Solaris 10

 
Sunil Chavan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing one problem when try to connect database using hibernate on weblogic application server 10 on solaris10. It gives me 'classNotFoundException' in hibernate related code. I am using Hibernate 3.2. Similar problem i was facing on weblogic 10 on windows xp. But when i added 'antlr-2.7.5H3.zip' in classpath setting of weblogic setDomainEnv.cmd file; that problem got resolved. But even after doing same thing in setDomainEnv.sh file on weblogic on solaris i am still facing problem.

Kindly give a solution. Thanks in advance.

Sunil Chavan
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the exception stack trace so we can guess what class is not found.

Do you have every jar file needed to run Hibernate. You can find out the list of jars from many places, a Google search and Hibernate docs are the first two places that I would check out.

Mark
 
Sunil Chavan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting following error:-

Error occured while fetching getSurrenderValue rg.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.icicipru.la.vo.ebi.ulip.lifestagepension.EBISurrenderValueVO where productId = roductId and year = :year]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!