This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Could not open or inject a Hibernate Session in ValueStack
 
Similar Threads
Struts2 Null Pointer Exception at Session Scope Level
displaying uploaded resume in jsp
java.lang.ClassNotFoundException: javax.persistence.JoinTable
Getting Error HTTP Status 404 - /Struts2Example/get.action
NullPonterException