aspose file tools*
The moose likes Struts and the fly likes Could not open or inject a Hibernate Session in ValueStack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Could not open or inject a Hibernate Session in ValueStack" Watch "Could not open or inject a Hibernate Session in ValueStack" New topic
Author

Could not open or inject a Hibernate Session in ValueStack

tyte kyat
Ranch Hand

Joined: May 17, 2011
Posts: 40
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

Joined: May 17, 2011
Posts: 40
by the way, it does not happen in my development environment using eclipse IDE. It only happen when I upload and deploy it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Could not open or inject a Hibernate Session in ValueStack