Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not open or inject a Hibernate Session in ValueStack

 
tyte kyat
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, someone
I got the following error. can you please help me with that ...

when I fine the following error on google. some people say that someone who got that sort of error, should add javaassit.jar,
that I already added. and some people suggest to have getter and setter that I also have already.

and My problem occur only on first access and when I press F5 or refresh, it is working fine.

and, by the way, I am using full hibernate plugin.

So, Please, I am dying for the answer.
by the way, it does not happen in my development environment using eclipse IDE. It only happen when I upload and deploy it.
thanks in advance.



and the following is my java file.

 
tyte kyat
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by the way, it does not happen in my development environment using eclipse IDE. It only happen when I upload and deploy it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic