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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not open or inject a Hibernate Session in ValueStack
 
Similar Threads
Getting Error HTTP Status 404 - /Struts2Example/get.action
displaying uploaded resume in jsp
NullPonterException
java.lang.ClassNotFoundException: javax.persistence.JoinTable
Struts2 Null Pointer Exception at Session Scope Level